Question: In this lab, you will write a program that reads integers from standard input until there is no more input. For each integer it reads,

In this lab, you will write a program that reads integers from standard input until there is no more input. For each integer it reads, it will output "yes" if the number is greater than 42, and "no" otherwise.
You do not need to perform any error checking; you may assume the input is a sequence of valid integers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!