Problem Statement:View more random threads:
- Mth603 assignment no 1 spring 2011 April due date 15-04-2011
- Assignment # 1 Computer Proficiency License (CS 001)...
- cs408 2nd assignment solution required
- ENG101 English Comprehension Assignment 4 Deadline 29 July...
- CS304 Object Oriented Programming Assginment 6 Deadline 30...
- PHY101 Physics Assignment No.4 Solution Fall Semester 2013
- CS609 System Programming Assignment No. 01 Last date 09...
- ISL201 Study of Quran and hadith Assignment 2 Solution...
- STA301 - Statistics and Probability Assignment No.1...
- Fin622 Solution 1 July 2010
You will be writing a simple result calculator. In your program first you will display your VU ID. Then you will ask user to enter Total marks, then you will take input for Obtained marks. After that you will calculate the percentage of marks and display Student Grade and Percentage. You will also perform exception handling in your code.
Sponsored Links
Details
First you will display your VU ID and Name
Then your program will ask user to enter total marks.
Then your program will ask user to enter the obtained marks
Then your program should display Percentage of marks on console and Grade obtained by student in Message Dialog Box
Here is the criteria to calculate grade
Obtained Marks >= 85% = A Grade
Obtained Marks <>= 75% = B Grade
Obtained Marks <>= 60% = C Grade
If obtained marks are less the 60% = F Grade
If user has input value other than number then your code should handle the exception. E.g. if user inputs abc
Hints:
1) Keep all variables float so you could easily perform division.
I will upload solution soon. If someone want to discuss then leave a message.