Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 2 Here are 3 sample runs: Write a ParentBot that asks 4 questions. Every time you say yes, then your points increase. The questions
Question 2 Here are 3 sample runs: Write a ParentBot that asks 4 questions. Every time you say yes, then your points increase. The questions are: Did you eat? no Did you study? no Did you do your laundry? no Did you call grandma? no I'm coming over. Did you eat? Did you study? Did you eat? yes Did you study? yes Did you do your laundry? yes Did you call grandma? yes Good ! Did you do your laundry? .Did you call grandma? At the end, ParentBot will reply to you as follows o points: I'm coming over 1-2 points: Ok 3-4 points: Good! Your code should use a loop and at least one comparison operator
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started