हिंदी

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.
कोड लेखन

उत्तर

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
Representation of Algorithms - Pseudocode
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 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×