1 solutions
-
0
C :
#include "stdio.h" #include "math.h" int main() { int math1, English, math2; //printf("Input math1, English and math2:"); scanf("%d,%d,%d", &math1, &English, &math2); double Finalscore = (math1 * 5 + English * 1.5 + math2 * 3.5) / 10; printf("Final score = %.2f\n", Finalscore); return 0; }
- 1
Information
- ID
- 74
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By