# Write a program that finds the temperature- as an integer - that is th.docx

D

Write a program that finds the temperature, as an integer , that is the same in both Celsius and Fahrenheit. The formula to convert from Celsius to Fahrenheit is: Fahrenheit = 32 + (nine fifths) times Celsius. Solution Program: Program: import java.util.Scanner; public class JavaApplication { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double celsius, fahrenheit; System.out.print(\"Enter a temperature in Celsius: \"); celsius = sc.nextDouble(); fahrenheit = 32 + (celsius * 9 / 5); System.out.println(celsius +\" ÂºC = \" + fahrenheit + \" ÂºF\"); } } .

## Recommended

Write a SIMPLE java program to print out the numbers from 100 to 1- wi.docx by
Write a SIMPLE java program to print out the numbers from 100 to 1- wi.docxdrosa1
31 views2 slides
Write a simple c++ program that computes the value of ex by using the.docx by
Write a simple c++ program that computes the value of ex by using the.docxdrosa1
12 views1 slide
Write a short assembly language module to be used with C++ that rotate.docx by
Write a short assembly language module to be used with C++ that rotate.docxdrosa1
2 views2 slides
Write a short essay- between 400 and 500 words- responding to the assi.docx by
Write a short essay- between 400 and 500 words- responding to the assi.docxdrosa1
3 views1 slide
Write a SELECT statement that returns the LastName and JobTitle of eac.docx by
Write a SELECT statement that returns the LastName and JobTitle of eac.docxdrosa1
6 views1 slide
Write a recursive C function that counts the number of vowels in a str.docx by
Write a recursive C function that counts the number of vowels in a str.docxdrosa1
7 views2 slides

## More from drosa1

Write a recursive function to convert a character string of digits to.docx by
Write a recursive function to convert a character string of digits to.docxdrosa1
5 views2 slides
Write a query to display the customer last name and city for all custo.docx by
Write a query to display the customer last name and city for all custo.docxdrosa1
3 views2 slides
write a program that reads package weights and calculate the post fee.docx by
write a program that reads package weights and calculate the post fee.docxdrosa1
2 views2 slides
Write a program that takes an input of n and prints the numbers from 1.docx by
Write a program that takes an input of n and prints the numbers from 1.docxdrosa1
2 views2 slides
Write a program to compute the volume V of a cylinder of radius r and (1).docx by
Write a program to compute the volume V of a cylinder of radius r and (1).docxdrosa1
2 views1 slide
Write a program in assembly language that will test PIN #0 of PORTA to.docx by
Write a program in assembly language that will test PIN #0 of PORTA to.docxdrosa1
4 views2 slides

### More from drosa1(20)

Write a recursive function to convert a character string of digits to.docx by drosa1
Write a recursive function to convert a character string of digits to.docx
drosa15 views
Write a query to display the customer last name and city for all custo.docx by drosa1
Write a query to display the customer last name and city for all custo.docx
drosa13 views
write a program that reads package weights and calculate the post fee.docx by drosa1
write a program that reads package weights and calculate the post fee.docx
drosa12 views
Write a program that takes an input of n and prints the numbers from 1.docx by drosa1
Write a program that takes an input of n and prints the numbers from 1.docx
drosa12 views
Write a program to compute the volume V of a cylinder of radius r and (1).docx by drosa1
Write a program to compute the volume V of a cylinder of radius r and (1).docx
drosa12 views
Write a program in assembly language that will test PIN #0 of PORTA to.docx by drosa1
Write a program in assembly language that will test PIN #0 of PORTA to.docx
drosa14 views
Write a program that uses a dynamic array that contains 5 items of dou (1).docx by drosa1
Write a program that uses a dynamic array that contains 5 items of dou (1).docx
drosa12 views
Write a program that calculates the final value of a ten year- \$10-000 (1).docx by drosa1
Write a program that calculates the final value of a ten year- \$10-000 (1).docx
drosa12 views
Write a python program that opens the career-txt file that is included.docx by drosa1
Write a python program that opens the career-txt file that is included.docx
drosa12 views
Write a program that contains and utilizes a function called haltNum(i.docx by drosa1
Write a program that contains and utilizes a function called haltNum(i.docx
drosa12 views
Write a program in MATLAB to implement the algorithm of Gaussian Elimi.docx by drosa1
Write a program in MATLAB to implement the algorithm of Gaussian Elimi.docx
drosa13 views
write a program to calculate the average of six number input by the us.docx by drosa1
write a program to calculate the average of six number input by the us.docx
drosa17 views
Write a program that uses the DrawingPanel to produces the following f.docx by drosa1
Write a program that uses the DrawingPanel to produces the following f.docx
drosa12 views
Write a program in assembly language 8086 not 8085 to find the number.docx by drosa1
Write a program in assembly language 8086 not 8085 to find the number.docx
drosa17 views
write a mips code which pop-ups a confirmation dialog which have yes o.docx by drosa1
write a mips code which pop-ups a confirmation dialog which have yes o.docx
drosa110 views
Write a program in (C or C++ or Java or python) to capture the center.docx by drosa1
Write a program in (C or C++ or Java or python) to capture the center.docx
drosa12 views
write a new equation of the line in slope intercept form parallel to e.docx by drosa1
write a new equation of the line in slope intercept form parallel to e.docx
drosa15 views
Write a program file_max-c that reads a set of integer numbers from a.docx by drosa1
Write a program file_max-c that reads a set of integer numbers from a.docx
drosa13 views
Write a PHP function (write the function only) to dynamically create a.docx by drosa1
Write a PHP function (write the function only) to dynamically create a.docx
drosa13 views
Write a PASCAL program to compare two integers entered from the keyboa.docx by drosa1
Write a PASCAL program to compare two integers entered from the keyboa.docx
drosa155 views

Recap of our Class by
Recap of our ClassCorinne Weisgerber
100 views15 slides
MercerJesse2.1Doc.pdf by
MercerJesse2.1Doc.pdfjessemercerail
280 views5 slides
Mineral nutrition and Fertilizer use of Cashew by
Mineral nutrition and Fertilizer use of CashewAruna Srikantha Jayawardana
52 views107 slides
MIXING OF PHARMACEUTICALS.pptx by
MIXING OF PHARMACEUTICALS.pptxAnupkumar Sharma
107 views35 slides
JQUERY.pdf by
JQUERY.pdfArthyR3
96 views22 slides
Gross Anatomy of the Liver by
Gross Anatomy of the Liverobaje godwin sunday
69 views12 slides

JQUERY.pdf by ArthyR3
JQUERY.pdf
ArthyR396 views
Retail Store Scavenger Hunt.pptx by jmurphy154
Retail Store Scavenger Hunt.pptx
jmurphy15447 views
The basics - information, data, technology and systems.pdf by JonathanCovena1
The basics - information, data, technology and systems.pdf
JonathanCovena1156 views
When Sex Gets Complicated: Porn, Affairs, & Cybersex by Marlene Maheu
When Sex Gets Complicated: Porn, Affairs, & Cybersex
Marlene Maheu99 views
Monthly Information Session for MV Asterix (November) by Esquimalt MFRC
Monthly Information Session for MV Asterix (November)
Esquimalt MFRC91 views
GCSE Spanish by WestHatch
GCSE Spanish
WestHatch53 views
EILO EXCURSION PROGRAMME 2023 by info33492
EILO EXCURSION PROGRAMME 2023
info33492124 views
Narration lesson plan by TARIQ KHAN
Narration lesson plan
TARIQ KHAN64 views
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx by ISSIP
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
ISSIP407 views

### Write a program that finds the temperature- as an integer - that is th.docx

• 1. Write a program that finds the temperature, as an integer , that is the same in both Celsius and Fahrenheit. The formula to convert from Celsius to Fahrenheit is: Fahrenheit = 32 + (nine fifths) times Celsius. Solution Program: Program: import java.util.Scanner; public class JavaApplication { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double celsius, fahrenheit; System.out.print("Enter a temperature in Celsius: "); celsius = sc.nextDouble(); fahrenheit = 32 + (celsius * 9 / 5); System.out.println(celsius +" ÂºC = " + fahrenheit + " ÂºF"); } }
Current LanguageEnglish
Español
Portugues
Français
Deutsche