need urgent help

Write a C++ program:
– use cin to input two integers, two real numbers, and two characters, (for example 5,10, 2.5, 8.0, D, F)
– cast them into int,
– compute the average of these integers and store the average in a variable average, and do the following:
1.
• add a constant value (for example 100) to the postfix increment of the average and assign the result to
a variable, (for example total)
• output the average and the total in decimal, octal, and hexadecimal displays.
2.
• add a constant value to the prefix increment of the average and assign the result to total
• output the average and the total in decimal, octal, and hexadecimal displays.
– Compare with the two results.
What problem(s) were you having writing it yourself?
i'm totally new on c++ and programing, i tried but don't know a lot about this problem. if you can write the program for me would be a great help...thanks
i'd really like to help you son, but i only help those who help themselves.

why have you learnt nothing from coarses or self study thus far?
Topic archived. No new replies allowed.