摘要: #include<stdio.h>#include<string.h>#include<float.h>int main(void){ double double_data=1.0/3.0; float float_data=1.0/3.0; printf("%.6f,%.6f\n",double_ 阅读全文
posted @ 2022-12-05 19:34 笨笨的小虫子 阅读(367) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<string.h>int main(void){ int i; char name[20],firstname[20]; printf("please input your name:\n"); scanf("%s",name); printf(" 阅读全文
posted @ 2022-12-05 19:34 笨笨的小虫子 阅读(339) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<string.h>int main(void){ float speed_load,size_of_file,time_load; printf("please input speed load (Mb/s)and size of file(MB) 阅读全文
posted @ 2022-12-05 19:33 笨笨的小虫子 阅读(352) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<string.h>int main(void){ float hight; char name[20]; printf("please input body hight(cm) and name:\n"); scanf("%f",&hight); 阅读全文
posted @ 2022-12-05 19:33 笨笨的小虫子 阅读(400) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<string.h>int main(void){ float data; printf("please input a data:\n"); scanf("%f",&data); //printf("a. %2.1f\n",data); //pri 阅读全文
posted @ 2022-12-05 19:33 笨笨的小虫子 阅读(102) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<string.h>int main(void){ char name[20]; char firstname[20]; printf("please input name and firstname\n"); scanf("%s",name); s 阅读全文
posted @ 2022-12-05 19:32 笨笨的小虫子 阅读(226) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<string.h>int main(void){ char name[20]; char firstname[20]; printf("please input name and firstname\n"); scanf("%s",name); s 阅读全文
posted @ 2022-12-05 19:32 笨笨的小虫子 阅读(398) 评论(0) 推荐(0)
摘要: #include<stdio.h>int main(void){ float i; printf("please input bei data:\n"); scanf("%f",&i); printf("Pintuo is :%f\n",i/2); printf("angsi is :%f\n",i 阅读全文
posted @ 2022-12-05 19:31 笨笨的小虫子 阅读(191) 评论(0) 推荐(0)
摘要: #include<stdio.h>int main(void){ int inch; float height; float limi=2.54; printf("please input height:\n"); scanf("%d",&inch); height=inch*limi; print 阅读全文
posted @ 2022-12-05 19:31 笨笨的小虫子 阅读(185) 评论(0) 推荐(0)
摘要: #include<stdio.h>int main(void){ double a=3.0*1e-23; int b=950; int c; printf("please input kuake data:\n"); scanf("%d",&c); a=c*b/a; printf("%e",a); 阅读全文
posted @ 2022-12-05 19:31 笨笨的小虫子 阅读(371) 评论(0) 推荐(0)
摘要: #include<stdio.h>int main(void){ double a=3.156*1e7; int b; printf("please input your age:\n"); scanf("%d",&b); a=a*b; printf("the age adjust second i 阅读全文
posted @ 2022-12-05 19:30 笨笨的小虫子 阅读(341) 评论(0) 推荐(0)
摘要: #include<stdio.h>int main(void){ float i; printf("Enter a floating-point value:"); scanf("%f",&i); printf("fixed-point notation:%f\n",i); printf("expo 阅读全文
posted @ 2022-12-05 19:30 笨笨的小虫子 阅读(232) 评论(0) 推荐(0)
摘要: #include<stdio.h>int main(void){ printf("\a"); printf("startled by the sudden sound,sally shouted,\n"); printf("\"By the Great Pumpkin,what was that!\ 阅读全文
posted @ 2022-12-05 19:29 笨笨的小虫子 阅读(367) 评论(0) 推荐(0)
摘要: #include<stdio.h>int main(void){ int a; printf("please input a ASCII data:\n"); scanf("%d",&a); printf("%c",a); return 0;} 阅读全文
posted @ 2022-12-05 19:29 笨笨的小虫子 阅读(202) 评论(0) 推荐(0)
摘要: #include<stdio.h>void one_three(void);void two(void);int main(){ printf("starting now:\n"); one_three(); two(); printf("three\n"); printf("done!\n"); 阅读全文
posted @ 2022-12-05 19:28 笨笨的小虫子 阅读(218) 评论(0) 推荐(0)