Question: write a java program Problem A Jimmy and 4 of his friends are at the movies and he was asked to purchase the snacks. The
write a java program
Problem A
Jimmy and of his friends are at the movies and he was asked to purchase the snacks. The prices are as follows:
popcorn: $
candy bar: $
soda: $
water: $
Calculate the price of buying p bags of popcorn, c candy bars, s sodas, and w waters.
They all agreed to split the price evenly, calculate the amount each person should pay.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
