The document contains the code solution for CS 101 Assignment #2. The code prompts the user to enter their VU-ID and marks for 4 subjects. It then calculates the total, average, and grade based on the average. Conditional statements are used to determine the grade based on the average marks ranging from A+ to Fail.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
44 views4 pages
CS 101 Assignment 2
The document contains the code solution for CS 101 Assignment #2. The code prompts the user to enter their VU-ID and marks for 4 subjects. It then calculates the total, average, and grade based on the average. Conditional statements are used to determine the grade based on the average marks ranging from A+ to Fail.