Computer Science, asked by manvirs451, 9 months ago

convert 100.4 f to celsius. calculate and print equivalent celsius temperature. write a program​

Answers

Answered by krrew
2

Answer:

Explanation:

WRITE THE FOLLOWING JAVA PROGRAMME---------------------------------------------

package com.javabrahman.generaljava;

import java.util.Scanner;

public class FahrenheitToCelsius {

 public static void main(String args[]){

   System.out.print("Enter the temperature in Fahrenheit: ");

   Scanner scanner=new Scanner(System.in);

   float fahrenheit=scanner.nextFloat();

   float celsius=(fahrenheit-32)*5/9;

   System.out.println("Temperature in Celsius: "+celsius);

 }

}

HOPE THIS HELPS✌️

#BEBRAINLY #LEARNMORE

I AM A COMPUTER PROGRAMMER, ETHICAL HACKER, AND I KNOW JAVA, CSS++, HTML, J QUERY AND PYTHON

PLZ MARK AS THE BRAINLIEST

Answered by Anonymous
1

import java.util.*;

public class Convert

{

public static void main (String args []);

{

float f = 100.4 , c;

c = f*32/9;

System.out.println("Temperature in Celsius = " +c);

}

}

Similar questions