Assume that there is no data-type float or double in the C implementation on your computer. You cannot declare variables of type double or float, and you cannot input, output or use numbers of the...


write with c pls


Assume that there is no data-type float or double in the C implementation on your computer. You cannot declare variables of type double or float, and you cannot input, output or use numbers of the type 3.4 or 2.5E9. Write a program that<br>simulates inputting a number with two digits after the decimal, so that the user can input numbers such as 3.50 or 12.05. The program should input two such numbers and output the larger number.<br>For example<br>if the user inputs 3.50 and 25.04, the output should be 25.04.<br>if the user inputs 2.45 and 2.44, the output should be 2.45.<br>

Extracted text: Assume that there is no data-type float or double in the C implementation on your computer. You cannot declare variables of type double or float, and you cannot input, output or use numbers of the type 3.4 or 2.5E9. Write a program that simulates inputting a number with two digits after the decimal, so that the user can input numbers such as 3.50 or 12.05. The program should input two such numbers and output the larger number. For example if the user inputs 3.50 and 25.04, the output should be 25.04. if the user inputs 2.45 and 2.44, the output should be 2.45.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here