Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You're thinking about going with your friends to a movie. Write a java program that allows the user to input two parameters: the cost of

You're thinking about going with your friends to a movie. Write a java program that allows the user to input two parameters: the cost of a ticket in dollars, and the rating number of stars the movie received out of 5. The program should print how interested you are (very,sort-of,or not) in going to the movie. Use the following criteria: 1. You like bargains. Any movie that costs less than $5.00 is one that you want to see very much. 2.You dislike expensive movies. You are not interested in seeing any movie that costs $12.00 or more, unless it got 5 stars(and even then, you are only sort of interested). 3.You like quality. you are very interested in seeing 5-star movies that cost under $12.00. You are sort of interested in seeing movies costing between $5.00-$11.99 that also received between 2-4 stars inclusive.

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

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions

Question

1. Television more Over watching faceing of many problems ?

Answered: 1 week ago

Question

Is there a link between chronic stress and memory function?

Answered: 1 week ago

Question

Project management skills and/or experience desirable

Answered: 1 week ago