Snowfall Report β
In this program, the user will insert the names of two cities,
and ask the user the number of days of snow, and
How many inches of snow on each day.
At the end, it will print the number inch of snow and the city that has
more snow.
- Scanner Console
- For loops
- if - else if - else statement
- Basic arithmetic calculations like
long ft1 = Math.round(s1 / 12.0);- Calculating snowfall in feet
/!\ This is a Java program I wrote for a class assignment. /!\
xoxo.