Computer Science, asked by soumi2005, 3 months ago

Write a program to input
e real number (floating
point number) and round it off to 2 places of decimal using math library functions

PLEASE HELP ME WITH THIS JAVA PROGRAM AND DON'T POST IRRELEVANT ANSWERS ​

Answers

Answered by rohanjhajhria7878
5

...We already know the following operators which may be applied to numbers: + , - , * and ** . ... Both operation always yield an object of type int . run [*] step by ... 2. Floating-point numbers.

I have this line of code which rounds my numbers to two decimal places. But I get numbers like this: 10.8, 2.4, etc

give thanks and take thanks

please give me brinelist answer and follow me

Similar questions