Question

D Question 2 1 pts How many times does the message, Hello get printed out by the code segment below? int count = 0; while (count < 41) printf(Helloln); count count+3;

How many times does the message, “Hello” get printed out by the code segment below?

int count = 0;

while (count < 41) {

    printf(“Hello\n”);

    count = count+3;

}

0 0
Add a comment Improve this question Transcribed image text
Answer #1

hello will be printed 14 times in the code given.

8 9 #include<stdio.h> 10 11 int main() 12 13 14 15-while (count く 41 16 17 18 19 20 21 int count Ξ 0: printf (hello \t); co

Add a comment
Know the answer?
Add Answer to:
How many times does the message, “Hello” get printed out by the code segment below? int...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT