I need help converting this to Pseudocode to c++ //start //Declarations //num idNumber //num dogAge //num dogWeight //num fee //string dogName
View the step-by-step solution to:

Question



//start

//Declarations

//num idNumber

//num dogAge

//num

dogWeight

//num fee

//string dogName

//string dogBreed

//num SMALL_FEE = 55

//num MED_FEE = 75

//num LARGE_FEE = 105

//num XLARGE_FEE = 125

//housekeeping()

//detail()

//finish()

//stop


//housekeeping()

// output "Dog Day Care"

// input idNumber, dogName, dogBreed, dogAge, dogWeight

//return


//detail()

//if dogWeight < 15 then

// fee = SMALL_FEE

//else

// if dogWeight <= 30 then

// fee = MED_FEE

// else

// if dogWeight <= 80 then

// fee = LARGE_FEE

// else

// fee = XLARGE_FEE

// endif

// endif

// endif

//output idNumber, dogName, dogBreed, dogAge, dogWeight, fee

//return


//finish()

// output "End of program"

Top Answer

View the full answer
Screenshot_1.jpg

Dog Day Care: 7 Mojo Roitweiler 2 50
ID Number: 7
Dog Name: Mojo
Dog Breed: Roitweiler
Dog Age: 2
Dog Weight: 50
Fees: $105
End of program
Program finished with exit code 0
Press ENTER to exit...

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question