Task

Opened: Wednesday, 6 May 2020, 12:00 AM
Due: Wednesday, 13 May 2020, 12:00 AM

  1.  Write a program that print your name. 
  2. Read 2 variables, named A and B and make the sum of these two variables, assigning its result to the variable X. Print X . Example: For 10 and 15 the printed output will be 25.
  3. Read 2 variables, named A and B and make the Subtract of these two variables, assigning its results to the variable X and Y. Print X and Y. Example: For 10 and 15 the printed output will be 25.
  4. Read two integer values, in this case, the variables A and B. After this, calculate the sum and subtract between them and assign it to the variable SUM and SUB. Write the value of this variable.Example: Output for 20 and -10 will be like - SUM = 10 and SUB = 30