Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started