Question: 1. Write a Java program that prints Hello CS102 on the screen then prints your name in the next line. 2. Write a Java program

1. Write a Java program that prints "Hello CS102" on the screen then prints your name in the next line. 2. Write a Java program that create two variables of type integer and initially assign their values to 125, 24 and then print the result of the following arithmetic operations in separate lines: a. Addition b. Subtraction c. Multiplication d. Division e. Reminder Finally, ask the user to enter two numbers and then print the result of the above arithmetic operations of those numbers in separate lines too. I 3. Write a Java program that takes five numbers as input then calculate and print the 3. Write a Java program that takes five numbers as input then calculate and print the average of the five numbers. 4. Write a Java program that prints the number of odd numbers from 1 - 99 and print each even number in a new line. 5. Write a Java program that converts each letter in the following input string into capital letter, then converts each letter in the resulting new string into a small letter: Input String: "Hello cs 102 members. This is my first assignment" 6. Design an activity diagram for a banking system that process of either withdrawing money from or depositing money into a bank account based on the balance of the account
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
