Answered step by step
Verified Expert Solution
Question
1 Approved Answer
plz view the photo Q4. Suppose you are working in a change shop which gives the customer either Rs. 100 or Rs. 50 notes for
plz view the photo
Q4. Suppose you are working in a change shop which gives the customer either Rs. 100 or Rs. 50 notes for the required amount. For this, you have to write a Java program with a user-defined method. The method should display the number of Rs. 50 notes or the number of Rs. 100 notes according to the amount entered by the user and their choices of notes. Hint: Create method change(int amount, int choice) Sample Input: 1000 100 Sample Output: 10Step 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