Question: using visual studio , You are going to write a C program that asks the user to input two numbers. Then your program should output
using visual studio , You are going to write a C program that asks the user to input two numbers. Then your program should output the addition of those two numbers, multiplication of the same two numbers that user entered and square of the same numbers.
(You can use int data type for this assignment). Please note that your program should work for any two numbers entered by the user and not just those shown in following test case scenario.
Interaction with your program might look like this:
Enter the first number: 7
You entered 7
Enter the second number: 5
You entered 5
The addition is 12.
The multiplication is 35.
Square of 7 is 49.
Square of 5 is 25.
Thank you.
please begin with
# include
#include
use printf scanf_s and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
