摘要:
实验一 不能,因为一元二次方程的根有两个,而函数的返回值无法做到返回两个根的值。 实验二 #include<stdio.h> long long fac(int n) { static long long p=1; p=p*n; return p; } int main() { int i,n; p 阅读全文
摘要:
#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, ", d, e, f); retu 阅读全文
摘要:
#include <stdio.h> int main() { printf("my stuno is ;202083450104,2020 are you kidding me\n"); return 0; } #include <stdio.h> int main() { while(1) pr 阅读全文