Question: Turn pseudocode into source code C + + programming / / Pseudocode PLD Chapter 4 # 8 a , pg . 1 7 3 /
Turn pseudocode into source code C programming Pseudocode PLD Chapter #a pg
Start
Declarations
number id
string ownerName
string breed
number age
number weight
number weeklyFee
output "Please enter owner's ID:
input id
output "Please enter owner's name:
input ownerName
output "Please enter dog's breed no space in input, use
instead; For example GreatDane:
input breed
output "Please enter dog's age:
input age
output "Please enter dog's weight:
input weight
if weight then
weeklyFee
else if weight and weight then
weeklyFee
else if weight and weight then
weeklyFee
else
weeklyFee
output "Owner Name: ownerName
output "Owner ID: id
output "Dog Breed: breed
output "Dog Age: age
output "Dog Weight: weight
output "Weekly Fee: $weeklyFee
Stop
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
