Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that takes input from the user the no of subjects, mark and credit of each subject and calculates CGPA. The program continues

Write a program that takes input from the user the no of subjects, mark and credit of each subject and calculates CGPA. The program continues to calculate CGPA of 1 to n students until the user quits the program. Hint: Use the concept of functions, parameter and recursion.

Step by Step Solution

3.57 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

def cgpaCalmarkscreditn grade0n Sum0 for i in rangen gradeimarksi10 for ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Structures and Algorithms in Java

Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser

6th edition

1118771334, 1118771338, 978-1118771334

More Books

Students also viewed these Computer Engineering questions