实验3 C语言分支语句和循环语句变成应用
摘要:实验任务1 1 #include <math.h> 2 #include <stdio.h> 3 int main() 4 { 5 float a, b, c, x1, x2; 6 float delta, real, imag; 7 printf("Enter a, b, c: "); 8 whi
阅读全文
posted @
2020-11-19 14:02
黑卡卡卡蒂
阅读(135)
推荐(0)
实验2 C语言表达式编辑应用及输入输出函数
摘要:实验1 #include <stdio.h> int main () { int a = 5, b = 7, c =100, d, e, f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d,e=%d,f=%d\n",d,e,f); return 0; }
阅读全文
posted @
2020-11-03 21:50
黑卡卡卡蒂
阅读(178)
推荐(0)