VUsolutions Transferred to AchiKhasi.com

From December 2011, this blog www.VUsolutions.blogspot.com is transferred to http://achikhasi.com/vu/ . So, you may visit http://achikhasi.com/vu/ for latest study related help.

Back to home VUsolutions

VUsolutions Fans Club [join us for MORE solutions]

VUsolutions on Facebook

CS506 Assignment No. 1 Announced

Friday, October 29, 2010 Posted In Edit This

Problem Statement:
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.
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.

Back to home VUsolutions

Shaadi.com: Just create ur account & find ur partner or EARN money, its reall & EASY

VUsolutions Followers (Join NOW and Get Extra Benefits)

Install LATEST toolbar having lot of features - GET solutions on Desktop

toolbar powered by Conduit
Caliplus 300x250 NoFlam VitoLiv 468x60 GlucoLo