摘要:
#include<stdio.h> main(){ double price,sum,pay,zhaoling; int num,moling; printf("请输入商品单价"); scanf("%lf",&price); printf("请输入商品数量"); scanf("%d",&num); 阅读全文
posted @ 2021-10-16 17:36
边海(皿゚)
阅读(20)
评论(0)
推荐(0)
摘要:
1编辑程序,使用scanf()函数接收整形,实型,字符型的变量,并分行依次输出。 #include<stdio.h> main() { int a; float b; char c; scanf("%d%f%c",&a,&b,&c); printf("%d\n%f\n%c\n",abc); } 2编 阅读全文
posted @ 2021-10-16 17:29
边海(皿゚)
阅读(15)
评论(0)
推荐(0)

浙公网安备 33010602011771号