Question: programming C++ 15. Write a program that asks the user for two floating point numbers (say a and b ) and prints out the value
15. Write a program that asks the user for two floating point numbers (say a and b ) and prints out the value of (a+b) squared A. Example i. Input - Please enter first number: 7.9 - Please enter second number: 2.1 ii. Output - Square of (7.9+2.1) is 100 16. Write a program that asks the user for two floating point numbers (say a and b ) and prints out the value of (a3+b3+3a2y+3ab2) A. Example i. Input - Please enter first number: 7.9 - Please enter second number: 2.1 ii. Output - Result: 1000 17. Write a program that takes an integer number prints the square of the number. A. Example i. Input - Please enter number: 8 ii. Output - Square of 8 is 64
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
