Lab 1: Variables and Arithmetic Operations: IT01003! OCTOBER 1, 2012
Lab 1: Variables and Arithmetic Operations: IT01003! OCTOBER 1, 2012
OCTOBER 1, 2012
QUESTIONS: Declare two integer variables as; int x=4; int y=2; Write a program to calculate and display the; 1) Multiplication of the two numbers (x x y) 2) Addition of the two numbers (x + y) 3) Subtraction of the two numbers ( x - y) 4)Division of the two numbers (x / y)
PAGE 1