Computer Science, asked by Chinkoo75121, 10 months ago

Write a program to enter two integers and perform all arithmetic operations on them.

Answers

Answered by sampakrish123
13

Answer:

Program to perform all arithmetic operations. In statement div = (float) num1 / num2; , I have typecasted num1 to float before the divide operation, to avoid integer division. Read more - Type conversion in C programming. Note: \n is an escape sequence character used to print new lines (move to the next line).

Similar questions