Computer Science, asked by kritika4311, 8 months ago

Write JAVA expression for (F-32)*5/9

Answers

Answered by Raghavrocks17
3

Answer:class FahrenheittoCelsius. {

double celsius(double f) {

return (f-32)*5/9; }

public static void main(String arg[]) {

Scanner sc=new Scanner(System. in); System. out. ...

a=sc. nextDouble(); FahrenheittoCelsius fah=new FahrenheittoCelsius( );

double result=fah. celsius(a); System. out. ...

mark me the brainliest,,,,,,,,,,,pls

Answered by kingkhan11740
0

Answer:

....

Explanation:

........................

Similar questions