Please check the attached screenshot and the assignment that I have to do. Provide me a whole source code with minimum changes with my original source code please. I just want the fahreheit to be changed as it supposed to be, not stay in 32°F as you can see in my screenshot.
Please check the attached screenshot and the assignment that I have to do. Provide me a whole source code with minimum changes with my original source code please. I just want the fahreheit to be changed as it supposed to be, not stay in 32°F as you can see in my screenshot.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Please check the attached screenshot and the assignment that I have to do. Provide me a whole source code with minimum changes with my original source code please. I just want the fahreheit to be changed as it supposed to be, not stay in 32°F as you can see in my screenshot.
![E Eclipse project - Project04/src/temperature.java - Eclipse IDE
File Edit Source Refactor Navigate Search Project Run Window Help
A Package Explorer X
E Outline X
©, temperature
main(String(1) : void
D temperature.java X
vE HelloJava
E JRE System Library [JavaSE-17]
2 public class temperature {
v H src
public static void main(String[] args) {
# (default package)
> D Main.java
vE Homework03
> E JRE System Library [JavaSE-17]
double tempC = 0;
double tempF = (1.8*tempC) + 32;
6.
8
9
A src
for (tempC = 0; tempc <= 20; tempC++)
{
System.out.println(tempF + "°F = " + tempC + "°C");
}
v A (default package)
> A race.java
> D testScore.java
vE Project04
> E JRE System Library (JavaSE-17]
v E src
v # (default package)
> D temperature.java
13
14
}
18 }
19
A Problems @ Javadoc O Declaration e Console X B Coverage
<terminated> temperature [Java Application] C:\Users\seose\OneDrive\Desktop\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.1.v20211116-1657\jre\bin\javaw.exe (Feb 2, 2022, 7:34:15 PM – 7:34:16 PM)
32.0°F = 0.0°C
32.0°F = 1.0°C
32.0°F = 2.0°C
32.0°F = 3.0°C
32.0°F = 4.0°C
32.0°F = 5.0°C
32.0°F = 6.0°c
32.0°F = 7.0°C
32.0°F = 8.0°c
32.0°F = 9.0°C
32.0°F = 10.0°C
32.0°F = 11.0°C
32.0°F = 12.0°C
32.0°F = 13.0°C
32.0°F = 14.0°C
32.0°F = 15.0°C
32.0°F = 16.0°C
32.0°F - 17.0°C
32.0°F = 18.0°C
32.0°F = 19.0°C
32.0°F - 20.0°C
7:45 PM
ENG
2/2/2022](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3e484d43-c7d4-4e91-b441-5ffb05728204%2F7493d6ee-5c2a-416b-849c-39ebf6d41a86%2F56fjibt_processed.png&w=3840&q=75)
Transcribed Image Text:E Eclipse project - Project04/src/temperature.java - Eclipse IDE
File Edit Source Refactor Navigate Search Project Run Window Help
A Package Explorer X
E Outline X
©, temperature
main(String(1) : void
D temperature.java X
vE HelloJava
E JRE System Library [JavaSE-17]
2 public class temperature {
v H src
public static void main(String[] args) {
# (default package)
> D Main.java
vE Homework03
> E JRE System Library [JavaSE-17]
double tempC = 0;
double tempF = (1.8*tempC) + 32;
6.
8
9
A src
for (tempC = 0; tempc <= 20; tempC++)
{
System.out.println(tempF + "°F = " + tempC + "°C");
}
v A (default package)
> A race.java
> D testScore.java
vE Project04
> E JRE System Library (JavaSE-17]
v E src
v # (default package)
> D temperature.java
13
14
}
18 }
19
A Problems @ Javadoc O Declaration e Console X B Coverage
<terminated> temperature [Java Application] C:\Users\seose\OneDrive\Desktop\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.1.v20211116-1657\jre\bin\javaw.exe (Feb 2, 2022, 7:34:15 PM – 7:34:16 PM)
32.0°F = 0.0°C
32.0°F = 1.0°C
32.0°F = 2.0°C
32.0°F = 3.0°C
32.0°F = 4.0°C
32.0°F = 5.0°C
32.0°F = 6.0°c
32.0°F = 7.0°C
32.0°F = 8.0°c
32.0°F = 9.0°C
32.0°F = 10.0°C
32.0°F = 11.0°C
32.0°F = 12.0°C
32.0°F = 13.0°C
32.0°F = 14.0°C
32.0°F = 15.0°C
32.0°F = 16.0°C
32.0°F - 17.0°C
32.0°F = 18.0°C
32.0°F = 19.0°C
32.0°F - 20.0°C
7:45 PM
ENG
2/2/2022

Transcribed Image Text:11. Celsius to Fahrenheit Table
Write a program that displays a table of the Celsius temperatures 0 through 20 and their
Fahrenheit equivalents. The formula for converting a temperature from Celsius to
Fahrenheit is
F =
C + 32
where F is the Fahrenheit temperature and C is the Celsius temperature. Your program must
use a loop to display the table.
Expert Solution

Introduction:
I have just put your line 7 inside for loop and its working perfectly
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education