Question: What will be the output for the following code? int x = 15; int y = 10; int result; result = x/y; Console.WriteLine(The result is:
What will be the output for the following code? int x = 15; int y = 10; int result; result = x/y; Console.WriteLine("The result is: {0}", result);_______ result = result*x; Console.WriteLine("The result is: {0}", result);______
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
