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

Find the value of x if [tex]3 \times {5}^{x} = \frac{3}{125} [/tex]​
Snow Play Ski Park costs $35 entry fee and then $5 per hour. If you have $60, how long can you be at Snow Play Ski Park? Part A - Identify the independent and d
a sign that means to go back to the beggining and end at fine what is it? ​
What number would make this problem many solutions? Infinity many solutions : 10x+ ___ =2(5x+7) 2 5 7 14 17 20
How does Iago reduce Othello to a single story?
Please help me with English here is story I need 5-7 sentences with 2 pieces of evidence
A supporter of support which of the following government policies?
5. If 10% of a number is 7. what is 80% of the number? 5600 O 70 O 0.7 O 56​
Grace earned £22,000 last year. She worked for 35 hours a week for 48 weeks. Calculate her pay per hour. Give your answer to 2 decimal places.
Which is the most important factor to consider when evaluating candidates running for office? A) Appearance of political ads B) Confident performance in debate