nnekaeke123
nnekaeke123 nnekaeke123
  • 02-06-2022
  • Computers and Technology
contestada

write an algorithm to print the first 100 odd numbers​

Respuesta :

angelloveschurch angelloveschurch
  • 02-06-2022

Answer:

ALGORITHM :

Step 1: Start

Step 2: Declare variable c of integer type

Step 3: Set c=0

Step 4: Repeat step 4.1 to 4.3 while (c<=100)

Step 4.1: if (c%2 != 0)

Step 4.2: then print c

Step 4.3 : c=c+1

Step 5: Stop

FLOWCHART:

Explanation:

Ver imagen angelloveschurch
Answer Link

Otras preguntas

The sum of 2.236 and 7.555.. must be : A) Rational B) Irrational C) An integer D) A whole number
A sentence that asks a question ends with a period. True False
1.07 x 104 -3.38 × 10³
Find the coordinates of the midpoint of the line segment with endpoints (6, -2) and (-3, -2). midpoint: (x, y) = ( )
Question for Math! I have a 200-point math test coming up, and I don't get the concept of this question, but if somebody is willing to help me out on this quest
If x +2 is a factor of p(x) =x²-kx +7, thrn find the value of k.Also,find the other factor of the polynomial ?​
what is the principle of foreign policy of Nepal​
There are two temples, one on each bank of a river, just opposite to each other. One is 54m high. From the top of this temple angle of depression of the top and
Write the slope-intercept form of the equation of the line through the given point with the given slope. through: (2,-2), slope = -5/6
What is this phrase in English? "Mi madre es muy inteligente."