Question: 1. Translate to C# the following Java code: + , the total is + (a+b)); + a + 11 and + , the total

1. Translate to C# the following Java code: + ", the total is + (a+b)); " + a + 11 and + ", the total is " + (a+b)); 3 public class ReportSum { 46 public static void main(String args[]) { 5 //assume we have 2 numbers a and b, a = 2, b = 5 6 int a = 2; 7 int b = 5; 8 System.out.println("Provided Integers: + a + and + b 9 10 //assume we have 2 numbers a and b, a = 4, b = 4 11 a = 4; 12 b = 4; 13 System.out.println("Provided Integers: + b 14 15 //assume we have 2 numbers a and b, a = 1000, b = 2000 16 a = 1000; 17 b = 2000; 18 System.out.println("Provided Integers: + a + and " + b 19 20 //assume we have 2 numbers a and b, a = 100, b = 101 21 a = 100; 22 b = 101; 23 System.out.println("Provided Integers: + a + + b 24 } 25 } + ", the total is + (a+b)); and + ", the total is + (a+b)); Provide your source code and output in the form
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
