Write a Java program to solve quadratic equations. Q2. Write a program to calculate the income tax for the below conditions: If income is less than 500, then no tax Q1. Q3. If income is in the range 501-1000, then tax is 5% of income If income is in the range 1001-1500, then tax is 10% of income If above 1500, then tax is 15% of income Write a Java program to print numbers between 1 to 100 which are divisible by 3, 5 and by both.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 30PE
icon
Related questions
Question

Please I want answer this 

Q1.
Q2.
Q3.
Write a Java program to solve quadratic equations.
Write a program to calculate the income tax for the below conditions:
If income is less than 500, then no tax
If income is in the range 501-1000, then tax is 5% of income
If income is in the range 1001-1500, then tax is 10% of income
If above 1500, then tax is 15% of income
Write a Java program to print numbers between 1 to 100 which are divisible
by 3, 5 and by both.
Transcribed Image Text:Q1. Q2. Q3. Write a Java program to solve quadratic equations. Write a program to calculate the income tax for the below conditions: If income is less than 500, then no tax If income is in the range 501-1000, then tax is 5% of income If income is in the range 1001-1500, then tax is 10% of income If above 1500, then tax is 15% of income Write a Java program to print numbers between 1 to 100 which are divisible by 3, 5 and by both.
Expert Solution
steps

Step by step

Solved in 4 steps with 9 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning