Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

4 java questions

4 java questions

4 java questions

Question Description

1. USING THE IF STATEMENT – Write a java program that asks the store manager to input the number of video cards she wants to buy on this order. The full non-discounted price for one video card is $45.00.

If she buys 1 to 10 she pays full price
If she buys 11 to 25 she receives a 10% discount
If she buys 26 to 50 she receives a 25% discount

For testing purposes enter `any quantity between 12 and 48

Print out how many she bought
Print out the amount she saved with the discount
Print out the total of how much she spent

————————————————————————

2. USING THE SWITCH STATEMENT – Write a java program that asks the user to enter the number of their favorite month of the year obviously, that would be 1 12. Use ANY number

Write a switch statement that takes the number and converts it to the fully spelled out name.

[For example only: if the user entered 3; the word MARCH would be printed] .

Be sure to build in an error message to catch any invalid data entries such as 0 or 13 etc.

Print out the number that was entered and the name that resulted.

3. USING THE IF STATEMENT & Scanner for input and println for output – Write a java program where the user enters a temperature as a whole number from input, and outputs a most likely season [either SUMMER, SPRING, FALL or WINTER] depending on the temperature entered.

SUMMER would be 90 or higher
SPRING would be 70 to less than 90
FALL would be 50 to less than 70
WINTER would be less than 50

Consider it an error if the user ever accidentally enters a value of less than 0, or greater than 110.

4 USING THE SWITCH STATEMENT & JOptionPane for input and output – Write a java program where the user enters a temperature as a whole number from input, and outputs a “most likely” season [either SUMMER, SPRING, FALL or WINTER] depending on the temperature entered.

Either enter 40 or 60 or 80 or 100

SUMMER would be 100

SPRING would be 80

FALL would be 60

WINTER would be 40

Consider it an error if the user ever accidentally enters any other value.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20