I need your help guys

Feb 19, 2014 at 4:18am
How to construct this for C++?

Please help me.
Last edited on Feb 24, 2014 at 12:48pm
Feb 19, 2014 at 6:18am
closed account (zybCM4Gy)
So...

You want a menu....

[code]
print( Welcome to CIO TV Where all your worldly desires come to life )
print( but now we're gonna charge you for it. Please select on of the following packages)

print(
1. Bronze Pack - 125
2. Silver - 200
3. Gold - 500
)

get user input based on choice entered.
If choice != 1, 2, or 3 then ask again (and again and again ...loop until they pick an answer kekeke)

Calculate the charges so far.

Ask user if they want extra channels

if yes then
Re-calculate with the amount of extra channels they want.

Display the full cost.
Feb 19, 2014 at 10:14am
A switch case could work.

Here's an example

http://cppgo.wordpress.com/2014/01/26/switch-case/
Topic archived. No new replies allowed.