Question: Using the language of your choice (C#, Java, Web Development languages (PHP and JavaScript): Declare a variable called number 1 and initialize its value to
Using the language of your choice (C#, Java, Web Development languages (PHP and JavaScript):
Declare a variable called number 1 and initialize its value to 4. Declare a variable called number2 and initialize its value to 5. Declare a variable called sum.
For each of the declared variables, select the appropriate data type.
Add the variables number1 and number2 and display the result to the console screen, using the following output: The sum of number1 and number2 is X, with X being the actual result.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
