Page 72 - Trackpad_ipro 4.1_Class8
P. 72
#Coding & Computational Thinking
#Digital Literacy
Write a Java program to display your Name and Roll Number on the terminal.
Write a Java program to display the names of five students in separate lines.
Write a Java program to calculate the sum of marks in 5 subjects.
Write a Java program to calculate simple interest. SI = (P * r * t ) / 100 where P is for
the principal amount, r is for the rate of interest, and t is for time duration. Take all the
values from the user.
Write a Java program to take the basic salary of an employee as input from the user
and calculate the net salary based on the criteria given below:
Net salary = basic salary + incentive
Incentive = 7 % of the basic salary
1. Talk about the various programming languages.
2. Discuss the features of Java and how they contribute to make Java a strong programming language.
3. Explain the syntax of println( ) method statement.
4. Encourage them to write Java programs using simple calculations.
70 iPro (Ver. 4.1)-VIII

