हिंदी

Let us add more functionality to our SMIS developed in Chapter 5. 6.1 Write a menu-driven program that has options to accept the marks of the student in five major subjects in Class X - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Let us add more functionality to our SMIS developed in Chapter 5.

6.1 Write a menu-driven program that has options to

  • accept the marks of the student in five major subjects in Class X and display the same.
  • calculate the sum of the marks of all subjects. Divide the total marks by the number of subjects (i.e. 5), calculate percentage = total marks/5, and display the percentage.
  • Find the grade of the student as per the following criteria:
Criteria Grade
percentage > 85 A
percentage < 85 && percentage >= 75 B
percentage < 75 && percentage >= 50 C
percentage > 30 && percentage <= 50 D
percentage <30 Reappear

Let’s peer review the case studies of others based on the parameters given under “DOCUMENTATION TIPS” at the end of Chapter 5 and provide feedback to them. 

एक पंक्ति में उत्तर

उत्तर

Do it Yourself.

shaalaa.com
Flow of Control
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Flow of Control - Exercise [पृष्ठ १४१]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
अध्याय 6 Flow of Control
Exercise | Q 1 | पृष्ठ १४१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×