Professional Documents
Culture Documents
1. Write a Java program to print 'Hello' on screen and then print your name on a separate
line.
Expected Output :
Hello
My name is Aymen
2. Write a Java program that takes three numbers as input to calculate and print the average
of the numbers.
Test Data:
a. -5 + 8 * 6
b. (55+9) % 9
c. 20 + -3*5 / 8
d. 5 + 15 / 3 * 2 - 8 % 3
Expected Output :
43
1
19
13
6. Write a program reads two float numbers then find summation, subtraction , product and
division.
T.Aymen Alswidi