Question
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
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