Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

c programming is error。why?

$
0
0
#include <stdio.h>
#include <string.h>
int main()
{
	float weigh, volume;
	int size, letters;
	char name[40];
	printf("What's your name ?\n");
	scanf("%s", name);
	printf("%s,and your weight ?\n", name);
	scanf("%f", &weigh);

	return 0;

}
What's your name ?
demo
,and your weight ?
请按任意键继续. . .

Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>