in Education by
int f=100, C; c= (f – 32)/9 * 5; System.out.println(c); Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
You have to use: public static void main(String args[]) { int f=100, c; c= (f – 32)/9 * 5; System.out.println(c); } in your class.

Related questions

0 votes
    int f=100, c; c = (f – 32)/9 * 5; System.out.println(c); Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    int f=100, c; c = (f – 32)/9 * 5; System.out.println(c); Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Q.32 :-What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile? ... y); return 0; Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to store the temperature in Celsius and convert it into Fahrenheit using the following formula ... INPUT METHOD Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    2. Size of int data type in java. . A32 and 64 B64and64 C32 and 32 D64and 32 Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
0 votes
    int fun(int n) { if(n!=0) { return n – fun(n-5); } else { return n; } } int main(){ int n = 20, z; z = fun(n); printf(“%d”, z); } Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    15. #include #define foo(m, n) m + n int main() { int a = foo(5,13); printf(“%d”, a); Select the correct answer from above options...
asked Dec 30, 2021 in Education by JackTerrance
0 votes
    int n=10;int res=(n–+10>–n×5)?++n:n++ System.Out.println(res+”,”+n); what is the output Select the correct answer from above options...
asked Dec 30, 2021 in Education by JackTerrance
0 votes
0 votes
0 votes
0 votes
    Analyse the given program segment and answer the following questions i) write the output of the program segment ii)how many times ... body of the loop gets execute for(int m=5 ; m...
asked Nov 29, 2021 in Education by JackTerrance
...