Write a c program for codeblocks that uses if else


You need to write a C program for codeblocks that uses if else statements(No switch) that declares 2 numbers as variables. The program will then ask the user to input a value, which will then be assigned to the first number.

Then the program will request for the 2nd value, which will be assigned to the 2nd number.

Next, the program will ask the user to input an operation symbol, +, -, *, or /.

Depending on the symbol the user inputs, the corresponding operation will then be carried out on the two numbers. Then we print out the result of the computation.

#include
#include

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c program for codeblocks that uses if else
Reference No:- TGS02876051

Expected delivery within 24 Hours