

MCQOPTIONS
Saved Bookmarks
1. |
Predict the output for the following set of code.
static void Main(string[] args) { float a = 16.4f; int b = 12; float c; c = a * ( b + a) / (a - b) ; Console.WriteLine("result is :" +c); Console.ReadLine(); } |
A. | 106 |
B. | 104.789 |
C. | 105.8546 |
D. | 103.45 |
Answer» D. 103.45 | |