WAP to calculate volume of a room that is 10m long ,9m wide and 5m tall.
(of computer, WAP= Write A Program)
Answers
Answered by
1
Answer:
Hope it help
please mark me as Brainliest
Attachments:
Answered by
0
Answer:
public class Volume {
public static void main(String[] args) {
int l = 10, b = 9, h = 5;
int volume = l * b * h;
System.out.println("Volume of the room: " + volume + "m");
}
}
Explanation:
This program displays the volume of the room in Java.
Please mark me Brainliest if you are satisfied!
Similar questions