Question: 1. Write a Java Program to solve quadratic equations (use if, else if and else). ( using command prompt) 2. Write a Java Program Take

1. Write a Java Program to solve quadratic equations (use if, else if and else). ( using command prompt)

2. Write a Java Program Take three numbers from the user and print the greatest number. (using command prompt)

3. Write a Java Program that keeps a number from the user and generates an integer between 1 and 7 and displays the name of the weekday. ( using command prompt)

4. Write a Java Program that reads in two floating-point numbers and tests whether they are the same up to three decimal places. ( using command prompt)

5. Write a Java Program that takes a year from user and print whether that year is a leap year or not (using command prompt)

6. Write a Java Program to display the first 10 natural numbers. (using command prompt)

7. Write a Java Program to input 5 numbers from keyboard and find their sum and average. (using command prompt)

8. Write a Java Program in Java to display the multiplication table of a given integer. (using command prompt)

9. Write a Java Program Program in Java to display the pattern like right angle triangle with a number. Input number of rows : 5 Expected Output :

1

12

123

1234

12345 (using command prompt)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!