Find errors in pseudocode and correct pseudocode in same type of code in picture

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

Find errors in pseudocode and correct pseudocode in same type of code in picture 

start
stop
num idNum
num nameChild
num ageChild
string fee
output "Enter ID number of parent:
input idNum
if idNum = valid
output "Enter name of child: "
input nameChild
output "Enter age of child: "
input ageChild
endif
if age < 2
fee = 90
otherwise when age > 2 OR age < 1
fee = 70
otherwise when age > 2
fee = 80
output "ID number of parent:
input idNum
output "Name of child: "
output "Age of child:
output "Fee:
II
if fee output fee
II
Transcribed Image Text:start stop num idNum num nameChild num ageChild string fee output "Enter ID number of parent: input idNum if idNum = valid output "Enter name of child: " input nameChild output "Enter age of child: " input ageChild endif if age < 2 fee = 90 otherwise when age > 2 OR age < 1 fee = 70 otherwise when age > 2 fee = 80 output "ID number of parent: input idNum output "Name of child: " output "Age of child: output "Fee: II if fee output fee II
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Computational Systems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT