Computer Science, asked by kr853088, 6 hours ago

int f=100, c;
c = (f - 32)/9 * 5;
System.out.println(c);​

Answers

Answered by vamsikolla333
0

Answer:

37.7

Explanation:

bodmas. rule is the used

Answered by Anonymous
16

Finding output - Java

Before we find output of the given Program, let's first know about that what is Java and what is programming.

Java is a high level programming language, it was developed by Sun Microsystems in the early early 1990s, it was designed by different platforms.

Programming means to create or develop a software which is called a program that contains the instructions to tell a computer what to do.

\rule{300}{1}

The Output

The output of the given program will be 35.

Now maybe you are thinking that how 35 cames.

So lemme explan that how the 35 cames from the program.

We are given, f = 100, and c = (f - 32)/9*5.

So by placing the value of f in c = (f - 32)/9*5 and solving the problem, we get :

→ c = (100 - 32)/9*5

→ c = 68/9*5

→ c = 7*5

c = 35

Now, after that in the program c is printing, so the value of c is 35.

Hence, the output of the program will be 35.

Similar questions