摘要:
#includeint main(void){ int fahr,lower,upper; double celsius; printf("Enter lower:"); scanf_s("%d",&lower); printf("Enter upper:"); scanf_s("%d",&upper); printf("fahr celsius\n"); for(fahr=lower;fahr#includeint main(void){ int money,year; dou 阅读全文
摘要:
#include int main(void){ int n; int factorial(int n); scanf_s("%d",&n); printf("%d\n",factorial(n)); return 0;}int factorial(int n){ int i,fact=1; for(i=1;i<=n;i++) fact=fact*i; return fact;} 阅读全文