Question: write a program in C++ to where a default value is 30$ and ask user wheather or not he wants to use the same default
write a program in C++ to where a default value is 30$ and ask user wheather or not he wants to use the same default value or change it to find the square of any number.
Hint: use function choose to enter variable as 30 ans then ask the Q to user in the screen that he wants the sq of 30 or any other number.
Note: your program should be able so the sq of all numbers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
