参考課題2解答例 #include<stdio.h> int main(void){ int n; int factorial;
{"Image DocumentName": "\u53c2\u8003\u8ab2\u984c\uff12\u89e3\u7b54\u4f8b #include<stdio.h> int main(void){ int n; int factorial;", "Image ImageDescription": "int i; factorial = 1; printf( 1\u4ee5\u4e0a\u306e\u6574\u6570\u3092\u5165\u529b: ); scanf( %d , &n); i=n; while(i!=0){ factorial = factorial   i; i=i-1; } printf( %d\u306e\u968e\u4e57\u306f%d\u3067\u3059\\n , n, factorial); return 0;", "Image XResolution": "300", "Image YResolution": "300", "Image ResolutionUnit": "Pixels/Inch", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}