Description
用c语言的基本输出格式打印下列内容:
100
A
3.140000
Input
本题目没有输入数据
Output
输出三行数据:
100
A
3.140000
Sample
Output
100
A
3.140000
#include<stdio.h>
int main()
{
int a=100;
char ch;
float b=3.140000;
ch='A';
printf("%d\n",a);
printf("%c\n",ch);
printf("%lf",b);
return 0;
}
运行结果
100
A
3.140000
Process returned 0 (0x0) execution time : 0.010 s
Press any key to continue.