Ask Question
1 December, 05:35

Write a QBasic program to find your total marks in all the subject

+3
Answers (1)
  1. 1 December, 05:41
    0
    CLS

    INPUT " Enter the student's name "; NS

    INPUT " Enter the marks obtained in first subject "; MFS

    INPUT " Enter the marks obtained in second subject "; MSS

    INPUT " Enter the marks obtained in third subject "; MTS

    INPUT " Enter the out total marks "; OTM

    LET TM = MFS + MSS + MTS

    LET P = TM / OTM * 100

    PRINT " Student name is "; NS

    PRINT " The total marks obtained is "; TM

    PRINT " The percentage is "; P

    END
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a QBasic program to find your total marks in all the subject ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers