Question: From 2 to 10 1) For the function xb Vba-ac , what are the conditions needed sox is a real number ? (Note: 1) 2a
1) For the function xb Vba-ac , what are the conditions needed sox is a real number ? (Note: 1) 2a not a C code) A) a 0, b2-4ac20 D) a 0,b2-4ac>0 2) What is the output of the following code ? 2) float count 12.345678; printf"%5.3I" count) A) 12.346 B) 12.35 C) 12.345 D) 12.34 E) 12.4 3) The right C statement for the following formula is (PI is defined previously) 3) A) VSph = (4/3).PI.(r.r.r); B) VSph-4.0/3*Pi.(r*t*r); C) VSph 43 PI(Gr) D) all of the above E) A and B are correct 4) 4) int a-2,b-2,c; c-a*b: printf ("input a : ") ; scanf("%d",&a); printf ("input b : ")iscanf ("d", &b): printf ("a x b d" c) If the user inputs a 7 and b- 3, the output c of the above program is B) 4 C) 3 D) 18 A) 21 5) 5) What is the value of count after the following code ? int count 0: double x3, y-l: count++i if(yco) count-- else count+ti A) 1 B) 2 D) 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
