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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started