Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I just need solution for part #3. Thank you. Examine the Java code provided in the following three tasks. Create a separate Console application (or
I just need solution for part #3. Thank you.
Examine the Java code provided in the following three tasks. Create a separate Console application (or Class Library if specified) for each task and re-write Java code into C# following the logic of the examples. Use as many C# specific features as possible. Submit your work to BB, so all your source code and output can be seen in full. You can do your work either in Visual studio or in Visual studio code (your choice) 1. Translate to C# the following Java code: 4- 3 public class Reportsum { public static void main(String args[]) { //assume we have 2 numbers a and b, a = 2, b = 5 int a = 2; int b = 5; System.out.println("Provided Integers: ta + " and " + b + ", the total is " + (a+b)); //assume we have 2 numbers a and b, a = 4, b = 4 a = 4; b = 4; System.out.println("Provided Integers: " + a + " and " + b + ", the total is " + (a+b)); //assume we have 2 numbers a and b, a = 1000, b = 2000 a = 1000; b = 2000; System.out.println("Provided Integers: " + a + " and " + b + ", the total is " + (a+b)); 16 17 18 10 19 20 21 22 23 24 25} //assume we have 2 numbers a and b, a = 100, b = 101 a = 100; b = 101; System.out.println("Provided Integers: " + a + and " + b + ", the total is " + (a+b)); } Provide your source code and output in the formStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started