197k views
3 votes
In my 4.3 Code practice: Question 1.

Every time I enter an age, it just continues to print **HUG**
What is wrong with my code?

In my 4.3 Code practice: Question 1. Every time I enter an age, it just continues-example-1
User Tyleax
by
4.5k points

1 Answer

2 votes

Answer:

you have the (while) code in whenever it is greater than 0, print hug. if less than, then nothing so flip the inequality thing around again.

Hope this helps plz hit the crown

User Daniel Davee
by
5.0k points