Create an application for an animal-fur trimming service. The business is open 1
ID: 440316 • Letter: C
Question
Create an application for an animal-fur trimming service. The business is open 15 weeks of the year, from April through July. The fee for a small animal (under 6 pounds) is $100, a medium animal (under 100 pounds) is $200, and a large animal (101 pounds and above) is $300. Write the pseudocode for the application in a Microsoft Word document. Next, write the code for the application. Prompt the user to indicate how many animals. Display the total fee for one year. Be pleasant in your output as it will be expensive. Make sure you use the scanner class as well as decision structures in your code. Use the following data for the runs of the information: Data set 1: 1 animal at 4 pounds 2 animals at 7 pounds each 3 trims per year Data set 2: 1 animal at 2 pounds 1 animal at 53 pounds 6 animals at 112 pounds each 4 trims per year Data set 3: 4 animals at 53 pounds each 2 animals at 207 pounds each 5 trims per year Data set 4: Your choice for poundage but must include a minimum of 6 animals totalExplanation / Answer
class Animal_fur { public static void main(String[] arg) { int anima[][]=new int[6][2]; int sum=1; System.out.print("Enter the no.of animals followed by their individual weight"); Scanner s=new Scanner(System.in); for(i=0;iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.