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

Please need this question answered asap
identify the type of chemical bond that forms when potassium reacts with bromine to form a salt.
please answer this question
A gym charges 60$ per month and 50$ enrollment fee at the beginning of the membership write an equation in slope intercept form to represent the situation
The sun’s pole reversals are tied to its
how did african americans participate in world war 1
A bag contains blue marbles and red marbles, 48 in total. The number of blue marbles is 9 more than 2 times the number of red marbles. How many blue marbles are
A tourist traveling across Germany Austria France and Spain will need how many different types of currency on her trip
Please help? With #28
Serious help needed. Pictures Included.