Computer Science, asked by manshikasonker88, 2 months ago

Write a program to enter two number and perform all arithmetic operators in same program?

Answers

Answered by gpateljay027gmailcom
0

Answer:

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

Answered by guardianangelx
4

note: I not sure whether this is right or not..

Attachments:
Similar questions