Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
int f=100, C;c= (f – 32)/9 * 5;
Home
Education
int f=100, C;c= (f – 32)/9 * 5;
asked
Dec 25, 2021
in
Education
by
JackTerrance
int f=100, C; c= (f – 32)/9 * 5; System.out.println(c); Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 25, 2021
by
JackTerrance
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
Q: int f=100, c;c = (f – 32)/9 * 5;
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: int f=100, c;c = (f – 32)/9 * 5;
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: Q.32 :-What will the SWAP macro in the following program beexpanded to on preprocessing? will the code compile?#include<stdio.h>#define SWAP(a, b, c)(ct; t=a, a=b, b=t)int maino{intx=10, y=20;SWAP(x, y, int);printf(“%d %d\n”, x, y);
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a JAVA program to store the temperature in Celsius and convert it into Fahrenheit using the following formula.Fahrenheit= (Celsius*9/5) +32
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: 2. Size of int data type in java. .A32 and 64B64and64C32 and 32
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: (i) x=5, y=6,2=20Q8) Consider the following statements and describe the output/statement required:(a) To retrieve the data type of the inputted string “Covid 19” stored inside the variable Disease.(b) x,y=”99″, “9”,Find the concatenated value of x and y and also retrieve the address of x and y.(c) Q= “Class XI” * 3
(i) x=5, y=6,2=20 Q8) Consider the following statements and describe the output/statement required: ... multiple assignment statements. Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: In a box containing 100 bulbs, 10 are defective. The probability that out of a sample of 5 bulbs, none is defective is(A) 10-1 (B) `(1/2)^5` (C) `(9/(
In a box containing 100 bulbs, 10 are defective. The probability that out of a sample of 5 bulbs, none is defective is( ... (1)/(2))^2` Select the correct answer from above options...
asked
Nov 16, 2021
in
Education
by
JackTerrance
probability-interview-questions
probability-interview-questions-answers
probability-multiple-choice-questions
probability-mcq-with-answers
probability-mcq
probability-questions
0
votes
Q: In a box containing 100 bulbs, 10 are defective. The probability that out of a sample of 5 bulbs, none is defective is(A) 10-1 (B) `(1/2)^5` (C) `(9/(
In a box containing 100 bulbs, 10 are defective. The probability that out of a sample of 5 bulbs, none is defective is( ... D) `9/(10)` Select the correct answer from above options...
asked
Nov 13, 2021
in
Education
by
JackTerrance
artificial-intelligence-interview-questions
artificial-intelligence-interview-questions-answers
artificial-intelligence-multiple-choice-questions
artificial-intelligence-mcq-with-answers
artificial-intelligence-mcq
artificial-intelligence-questions
0
votes
Q: 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);
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: 15.#include <stdio.h>#define foo(m, n) m + nint main(){int a = foo(5,13);
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: int n=10;int res=(n–+10>–n×5)?++n:n++ System.Out.println(res+”,”+n); what is the output
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
computer-science-interview-questions
computer-science-questions
0
votes
Q: No spammers please do it clear (show your work also) and how the answer comes please…int m=2 and int n=15for(int i=1;i<5;i++)m++;–n;System.out.println(“m=”+m);
No spammers please do it clear (show your work also) and how the answer comes please… int m=2 and int n=15 for(int i=1;i...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: {int ar[] = { 3, 1, 4, 6, 5 };int ar_size = sizeof(ar) / sizeof(ar[0]);isTriplet(ar, ar_size) ? cout << “Yes” : cout << “No”;return 0;
{ int ar[] = { 3, 1, 4, 6, 5 }; int ar_size = sizeof(ar) / sizeof(ar[0]); isTriplet(ar, ar_size) ? cout...
asked
Dec 9, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: {int ar[] = { 3, 1, 4, 6, 5 };int ar_size = sizeof(ar) / sizeof(ar[0]);isTriplet(ar, ar_size) ? cout << “Yes” : cout << “No”;return 0;
{ int ar[] = { 3, 1, 4, 6, 5 }; int ar_size = sizeof(ar) / sizeof(ar[0]); isTriplet(ar, ar_size) ? cout...
asked
Dec 3, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Analyse the given program segment and answer the following questionsi) write the output of the program segment ii)how many times does the body of the loop gets executefor(int m=5 ; m<=20 ;m+=5){if (m%3= = 0)break;elseif (m%5= = 0) System.out.println(m) continue;}
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
computer-science-interview-questions
computer-science-questions
...