IT 145 Global Rain Summary Report Template

docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

145

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

5

Uploaded by CountCapybara7809

Report
Developer : Ruby Bingham Date : 11/14/2023
IT 145 Global Rain Summary Report Template Directions Place your pseudocode, flowchart, and explanation in the following sections. Before you submit your report, remove all bracketed text. Pseudocode When you are done implementing the Pet class, refer back to the Pet BAG Specification Document and select either the pet check in or check out method. These methods are detailed in the Functionality section of the specification document. Write pseudocode that lays out a plan for the method you chose, ensuring that you organize each step in a logical manner. Remember, you will not be creating the actual code for the method. You do not have to write pseudocode for both methods. Your pseudocode must not exceed one page. PET CHECK OUT PSEUDOCODE Get pet type IF dog Get pet name Return dog space number Return dog weight IF weight >= 30 lbs Set day rate to $34/day Set grooming fee $29.95 ELSE IF weight < 30lbs and weight >= 20lbs Set day rate to $29/day Set grooming fee $24.95 ELSE weight < 20lbs Set day rate to $24/day Set grooming fee $19.95 Return stay length IF stay length over 2 days Check grooming status 2
IF yes Calculate total (day rate*length of stay + grooming fee) Return total ELSE no Calculate total (day rate * length of stay) Return total Mark dog space number vacant IF Cat Get pet name Return cat space number Calculate total Return stay length Set day rate $18/day Total = day rate * stay length Return Total Flowchart Based on the pseudocode you wrote, create a flowchart using a tool of your choice for the method you selected. In your flowchart, be sure to include start and end points and appropriate decision branching, and align the flowchart to the check in or check out process. Your flowchart must be confined to one page. 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
OOP Principles Explanation 4
Briefly explain how you applied object-oriented programming principles and concepts (such as encapsulation, inheritance, and so on) in your software development work thus far. Your explanation should be one paragraph, or four to six sentences. I used encapsulation in this check out programming by making sure that the calculations are private, so they aren’t altered by other portions of the code. Such as keeping the calculations private so that other inputs don’t alter them to prevent errors. I am using inheritance with the Pet class, which is a parent class, and the cat and dog classes, which are the child classes. This will help prevent me from having to redefine similar code for each class. 5