Question: Need help with cs hw in Java program. Thank youuuuu 1. Assume that the temperature fluctuates with a particular pattern in Albany. It decreases by

Need help with cs hw in Java program. Thank youuuuu  Need help with cs hw in Java program. Thank youuuuu 1.
Assume that the temperature fluctuates with a particular pattern in Albany. It

1. Assume that the temperature fluctuates with a particular pattern in Albany. It decreases by two degree every day in first half of a given period and increases by one degree in the second half If the number of days in a specified period is odd, the first half will be considered a day less than the second half Write a Java program that will first ask users to enter the number of days in the specified period and the temperature on the first day. The program should output a table showing the days and the temperatures on those days. For example, if a user enters as follows: Number of the days in the period: 11 Temperature on the first day: -10 The program should display the following: Day Temperature 10 12 14 16 18 17 16 15 14 10 13 11 12

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!