Write a program to enter two number and perform all arithmetic operators in same program?
Answers
Answered by
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
4
note: I not sure whether this is right or not..
Attachments:
Similar questions