摘要://重复执行,直到按Ctrl+z结束 #include <math.h> #include <stdio.h> int main(){ float a, b, c, x1, x2; float delta, real, imag; printf("Enter a,b,c: "); while (sc 阅读全文
posted @ 2020-11-18 00:00 I-AM-Y 阅读(27) 评论(2) 推荐(0) 编辑
摘要:任务1 //ex1.cpp #include <stdio.h> #include<stdlib.h> int main(){ int a = 5, b = 7, c = 100, d, e, f; d = a / b*c; //d=0 e = a*c / b;//e=71 f = c / b*a; 阅读全文
posted @ 2020-11-05 12:22 I-AM-Y 阅读(24) 评论(3) 推荐(0) 编辑
摘要:/*A simple C program*/ #include <stdio.h> int main(){ printf("202023332333\n"); printf("2020,I am crazy,what about you?\n"); return 0; } 一个很基础的程序。包含了最 阅读全文
posted @ 2020-10-17 15:50 I-AM-Y 阅读(18) 评论(0) 推荐(0) 编辑