1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
denis-greek [22]
3 years ago
6

that average july high temperature is 85 degrees fahrenheit in new york, 88 degrees fahrenheit in denver, and 106 degrees fahren

heit in phoenix. write a program that calculates and reports what the new average july high temperature would be for each of these citites if temperature rise by 2 percent.
Computers and Technology
1 answer:
goblinko [34]3 years ago
8 0

Answer:

public class num8 {

   public static void main(String[] args) {

       System.out.println("Average Temperature in New York is 85 degrees fahrenheit");

       System.out.println("Average Temperature in Denver is 88 degrees fahrenheit");

       System.out.println("Average Temperature in Phoenix is 106 degrees fahrenheit");

   // Calculating the new average Temperatures

       System.out.println("The New Average Temperature in New York " +

               "is "+ ((0.02*85)+85 )+ " degrees fahrenheit");

       System.out.println("The New Average Temperature in Denver " +

               "is " +((0.02*88)+88 )+ " degrees fahrenheit");

       System.out.println("The New  Average Temperature in Phoenix " +

               "is "+((0.02*106)+106 )+ " degrees fahrenheit");

   }

}

Explanation:

  1. Using Java first display the previous average temperatures for the three cities as given in the question
  2. Then calculates the new average temperature by multiplying by 0.02, because of a 2 percent increase in the average temperature
  3. Display the new temperature using the System.out,println

You might be interested in
im try to search for question the search bar and is giving me a error message is the page having any technical problem?
aalyn [17]
I have been running into the same problem, they haven't said anything but that might be the case.
6 0
2 years ago
Which best describes a VPN?
aleksandr82 [10.1K]

A private connection through a private network

8 0
2 years ago
Read 2 more answers
Which one of the following devices would you choose to meet those requirements?
tensa zangetsu [6.8K]
What are the requirements
5 0
1 year ago
Read 2 more answers
What is the amount of money you still owe to their credit card company called?
murzikaleks [220]
The money you owe is called a debt or a fee you owe them
3 0
3 years ago
Upload your completed chart using the information you gained in your interviews.
mars1129 [50]

Just so you know this isn't how this works. You have to give people a question and answers to choose from.

3 0
3 years ago
Other questions:
  • Using Python
    14·1 answer
  • I need a idea of a origami for my coding class and it needs to be easy to make
    15·2 answers
  • When viewing data entered into a spreadsheet, the columns identify _____.?
    5·1 answer
  • Which is true about SSH and Telnet?
    6·1 answer
  • Black and white squares codehs, i need the whole code (40 points for correct answer)
    15·2 answers
  • Why use LinkedIn automation for LinkedIn?
    10·1 answer
  • Can someone help me plz
    9·1 answer
  • Best programming languages? So far I have only learned html.​
    8·1 answer
  • What is media ethics. Explain two forms of maintaining media ethics with examples​
    13·1 answer
  • Davingould1115...................answer 2​
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!