Create a java program of following output.
Output:
My name is Nico Sumpang
The sum is: 10
The difference is: 5
The product is: 20
The quotient is: 2.5
St. Augustine SY 2020-2021
class App {
public static void main(String[] args) {
System.out.println("My name is Nico Sumpang");
System.out.println("The sum is: 10");
System.out.println("The difference is: 5");
System.out.println("The product is: 20");
System.out.println("The quotient is: 2.5");
System.out.println("St. Augustine SY 2020-2021");
}
}
Comments
Leave a comment