I am having a bit of trouble interpreting these directions for a C++ program.
To be specific, the parts in the brackets.
"We will make a simple, menu-driven math software package, call it Matlab Junior. Our software package will present the user with a menu of choices and execute the math function specified. The menu will look something like this:
MatLab Junior
[ 1) Print out prime numbers up to a pre-specified number ]
2) Compute X raised to the Y power
3) Absolute value of a number
4) The value of the hypotenuse of a right triangle.
5) Quit the Program
[ Please enter a number (1-5) -> ] "
To be specific, the parts in the brackets.
"We will make a simple, menu-driven math software package, call it Matlab Junior. Our software package will present the user with a menu of choices and execute the math function specified. The menu will look something like this:
MatLab Junior
[ 1) Print out prime numbers up to a pre-specified number ]
2) Compute X raised to the Y power
3) Absolute value of a number
4) The value of the hypotenuse of a right triangle.
5) Quit the Program
[ Please enter a number (1-5) -> ] "