draw a flowchart to accept the marks of three subjects of a student and calculate total and average and display it as result
Answers
Answered by
0
Answer:
QBASIC Program
Cls
Let T = 0
Let AVG = 0
Input "Enter name"; N$
For I = 1 To 12
Input "Enter marks"; M
T = T + M
Next I
AVG = T / 12
Print "Name - "; N$
Print "Total marks -"; T
Print "Average marks - "; AVG
End
Output
Enter name? Richa
Enter marks? 89
Enter marks? 89
Enter marks? 87
Enter marks? 90
Enter marks? 99
Enter marks? 95
Enter marks? 97
Enter marks? 92
Enter marks? 78
Enter marks? 95
Enter marks? 78
Enter marks? 80
Name - Richa
Total marks - 1069
Average marks - 89.08334
Explanation:
make me as a brainlist
Similar questions
Chemistry,
11 days ago
History,
11 days ago
Social Sciences,
23 days ago
Computer Science,
23 days ago
Science,
9 months ago