Computer Science, asked by anitadebbarma519, 9 months ago

write a program in QBASIC to enter name a student and mark obtained in six different subjects - computer science (cs) Math(M),physics (p),Biology (B),chemistry (C), History (H), Display the name of the student, Total mark and Average mark obtained​

Answers

Answered by shreyash560072
2

Answer:

Explanation:

CLS

INPUT "ENTER THE NAME OF STUDENT", N

INPUT "ENTER THE MARKS OBTAINED IN COMPUTER SCIENCE",CS

INPUT "ENTER THE MARKS OBTAINED IN MATHS", M

INPUT "ENTER THE MARKS OBTAINED IN PHYSICS", P

INPUT "ENTER THE MARKS OBTAINED IN BIOLOGY", B

INPUT "ENTER THE MARKS OBTAINED IN CHEMISTRY", C

INPUT "ENTER THE MARKS OBTAINED IN HISTORY", H

SUM%=CS+M+P+C+B+H

AVG!=SUM/6.0

PRINT "NAME";N

PRINT "TOTAL MARKS", SUM

PRINT "AVERAGE", AVG

END

plzzz mark me brainliest

Similar questions