Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Periodic inventory by three methods;

Answered: 1 week ago

Question

1. Outline the listening process and styles of listening

Answered: 1 week ago

Question

4. Explain key barriers to competent intercultural communication

Answered: 1 week ago