Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  123
Language: C/C++
Code:
/*成績平均*/
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
  float a,b,c,d,e;
  printf("請輸入五成績");
  scanf("%f %f %f %f %f",&a,&b,&c,&d,&e);
  printf("總成績為: %.2fn",a+b+c+d+e);
  system("pause");
  return 0;
}
          
Comments: