Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1 1. How will the loop below display: int count = 1; while (count < 10){ printf( %i, count); count = count + 1;

QUESTION 1

1. How will the loop below display: int count = 1; while (count < 10){ printf(" %i", count); count = count + 1; }

numbers from 1 to 10

numbers from 1 to 9

numbers from 0 to 9

numbers from 0 to 10

QUESTION 2

1. How many times the loop below will run: int count = 1; while (count <= 10){ printf(" %i", count); count = count + 1; }

9

11

10

none of the above

QUESTION 3

1. How many times the loop below will run: int count = 0; while (count < 11 ){ printf(" %i", count); count = count + 1; }

9

10

11

none of the above

]QUESTION 4

1. How many times the loop below will run: int count = 0; while (count < 10){ printf(" %i", count); count = count + 1; }

9

10

11

none of the above

QUESTION 5

1. The loop below is a pre-test loop int count = 1; do{ printf("%i ", count); count++; }while (count <= 3);

True

False

QUESTION 6

1. How will the loop below display: int count = 0; while (count < 10){ printf(" %i", count); count = count + 1; }

numbers from 1 to 10

numbers from 1 to 9

numbers from 0 to 9

numbers from 0 to 10

QUESTION 7

1. How will the loop below display: int count = 9; while (count > =0){ printf(" %i", count); count -= 1; }

numbers from 10 to 1

numbers from 9 to 1

numbers from 9 to 0

numbers from 10 to 0

QUESTION 8

1. How many times the loop below will run: int count = 1; while (count < 10){ printf(" %i", count); count = count + 1; }

9

11

10

none of the above

QUESTION 9

1. How will the loop below display: int count = 9; while (count > 0){ printf(" %i", count); count -= 1; }

numbers from 10 to 1

numbers from 9 to 1

numbers from 9 to 0

numbers from 10 to 0

QUESTION 12

1. Write a for loop that runs 5 times and accepts the input of an integer number every time. Those numbers will be accumulated by a variable called total.

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

Recommended Textbook for

More Books

Students also viewed these Databases questions