摘要:
#include<stdio.h>void main(){ int a, area; scanf("%d",&a); //等待用户从键盘输入一个整数// area=a*a; printf("The area is %d\n",area); //将变量area的值输出到屏幕上去//} 阅读全文
posted @ 2019-12-16 19:19
张德明
阅读(842)
评论(0)
推荐(0)
摘要:
#include<stdio.h>void main(){ int a, area; a=3; area=a*a; printf("The area is %d\n",area);} 阅读全文
posted @ 2019-12-16 19:12
张德明
阅读(2204)
评论(0)
推荐(0)
摘要:
#include<stdio.h>void main(){ int i=2; float j=3.14; printf("i=%f,j=%d\n",(float)i,(int)j);} 阅读全文
posted @ 2019-12-16 19:03
张德明
阅读(109)
评论(0)
推荐(0)
摘要:
#include<stdio.h>void main(){ printf("Type int has a size of %u byte,",sizeof(int)); printf("Typelong has a size of %u byte,",sizeof(long));} 阅读全文
posted @ 2019-12-16 18:56
张德明
阅读(304)
评论(0)
推荐(0)
浙公网安备 33010602011771号