Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Jay V.

Hey, all! I am running into trouble with some code I am doing for an assignment. The section highlighted in red is the section that I am having trouble with. When the user selects a [I]seat type[/I] and then clicks the [I]compute button[/I], the wrong cost is displayed instead of …

Member Avatar for lolafuertes
0
87
Member Avatar for Jay V.

I am at my wits end with this code. I've been working on it for at least 2 weeks and the same error appears. The error, itself, is the incompatible types error. It appears underneath the division symbol. [CODE]// DivideByFive.java - This program determines if a number is divisible by …

Member Avatar for kashokreddy14
0
129
Member Avatar for Jay V.

The program runs perfectly, however I am having an issue adding a discounted price. Another thing I noticed when I run the program is that the switch statement doesn't calculate the discounts at all. [CODE]// DiscountPrices.java - This program calculates total cost for discounted items. // Input: Interactive. // Output: …

Member Avatar for jasimp
0
3K