Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions