मराठी

Write pseudocode that will perform the following: a. Read the marks of three subjects: Computer Science, Mathematics, and Physics, out of 100. b. Calculate the aggregate marks. Calculate the - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Write pseudocode that will perform the following:

  1. Read the marks of three subjects: Computer Science, Mathematics, and Physics, out of 100.
  2. Calculate the aggregate marks.
  3. Calculate the percentage of marks.
कोड लेखन
Advertisements

उत्तर

Input marks of computer science
Input marks of mathematics
Input marks of physics

Calculate sum = CS + math + phy
Calculate percentage = ( sum / 300 ) * 100

Print sum
Print percentage
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: Introduction to Problem Solving - Exercise [पृष्ठ ८४]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
पाठ 4 Introduction to Problem Solving
Exercise | Q 7. | पृष्ठ ८४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×