fork(42) download
  1. #include <stdio.h>
  2.  
  3. /* 最大値を求める */
  4.  
  5. int main(void){
  6. int a[] = {70, 80, 85, 60, 95, 75, 80, 90, 85, 65};
  7. int i, max;
  8.  
  9. max = [空欄ア];
  10. for([空欄イ]; i<10; i++){
  11. [空欄ウ]
  12. }
  13. printf("最大値: %d\n", max);
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5456KB
stdin
Standard input is empty
stdout
最大値: 95