No products in the cart.

Write a menu driven program that …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

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 number of subjects (i.e. 5), calculate percentage = total marks/5 and display the percentage.
  • 1 answers

Lucky Singh 3 years, 10 months ago

hindi=int(input("enter marks in hindi:")) eng=int(input("enter marks in english:")) math=int(input("enter marks in math:")) science=int(input("enter marks in science:")) social_science=int(input("enter marks in social science:")) total=hindi+eng+math+science+social_science percentage=(total/500)*100 print("percentage is:", percentage)
http://mycbseguide.com/examin8/

Related Questions

What is alu
  • 1 answers
Define packages
  • 0 answers
Write a program for swapping two numbers?
  • 0 answers
Write a program for swapping two numbers
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App