c++ question.. pleasee

QUESTION : Grading System
Write a C++ program to determine the student who got the grades A, B, C, D or F
from exam marks enter by the user. The distribution of marks with its corr
esponding
grade is shown in table below:
Marks
Grade
80-100 A
70-79 B
60-69 C
50-59 D
0-49F
Input Validation:

Do not accept negative values for exam marks from user.

QUESTION 2: Geometry Calculation
Write a C++ program that displays the
following menu:
Geometry Calculation
1. Calculate the Area of Circle
2. Calculate the Area of Rectangle
3. Calculate the Area of Triangle
4. Quit
Enter your choice (1
-
4): __
If the user enters 1, the program should a
sk for the radius of the circle and then
display its area. Use the following formula:
area
= πr2
Use 3.14159 for
π
and the radius of the circle for r.
If the user enters 2, the program should ask for the length and width of the rectangle
and then display the rectangle’s area. Use the following formula:
area = length x width
If the user enter
s 3, the program should ask for the length of the triangle’s base and
its height, and then display the its area. Use the following formula:
area =
base
x
height x 0.5
If the user enters 4, the program should end.
Input Validation:
Display an error me
ssage if the user enters a number outside the range
of 1 through 4 when selecting an item from the menu. Do not accept negative values for the
geometry calculation.
Please note, that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
keskiverto is right
but after all i want to do your home work still (devil's laugh) just kidding.
well, why dont you try it first? whats the point of taking computer course? and registering in this site?
and we cant consider this thread title as your question even if we can you wont absorb a single thing, so do it first
Last edited on
Topic archived. No new replies allowed.