write valid statements for the following in
Print the rounded off value of 234.49
Print the absolute value of -9.99
Print the largest of -45 and -50
Print the smallest of -56 and -57.4
Print a random integer between 50 and 70
Print 10.5 raised to the power 3.8
Answers
Answered by
4
Java statement for the following:-
- Print the rounded off value of 234.49
- Print the absolute value of -9.99
- Print the largest of -45 and -50
- Print the smallest of -56 and -57.4
- Print a random integer between 50 and 70
- Print 10.5 raised to the power 3.8
Answer:-
1.Math.round(234.49)
2.Math.abs(-9.99)
3.Math.max(-45,-50)
4.Math.min(-50,-57.4)
5.(int)(Math.random()*(70-50))+50
6.Math.pow(10.5,3.8)
Learn more about math functions:-
- https://brainly.in/question/31965436?utm_source=android&utm_medium=share&utm_campaign=question
Similar questions
Math,
2 months ago
English,
2 months ago
Social Sciences,
5 months ago
Computer Science,
5 months ago
Biology,
10 months ago
Physics,
10 months ago
English,
10 months ago