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

Prudence means acting with ______. a. Self restraint b. Fairness c. Caution d. Honesty
The point-slope form of the equation of the line that passes through (–4, –3) and (12, 1) is y – 1 = (x – 12). What is the standard form of the equation for thi
I Am A Number That Is Double The Product Of 2 And 7. One Of My Factors Is 7 What Is My Other factor
Simplify. 26 + (–3) ∙ (–8) a. –184 b. –2 c. 2 d. 50
The difference of a number q and 8
What are depository and non depository financial institutions? How do they differ?​
At the middle school graduation dance,the DJ played 12 slow dances,which was equal to the quotient of the number of fast dances and 2
750 is divisible by which of these numbers? a. 2 3 4 5 and 9 b.2 3 4 5 6 and 10 c. 2 3 4 6 and 9 d. 2 3 4 5 6 9 and 10
Who became president of the French Republic in December 1848? Maximilien Robespierre Sun Yat-sen Friedrich Engels Louis Napoleon Bonaparte
Why do people give in to negative peer pressure?