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

using the box and whisper plot shown, find the quartile values Q1 and Q3
Max is determining the volume of the triangular pyramid below which expression will give him the correct value of B by by the base
What is the lateral surface area of the of the following figure? A. 982.36B. 851.76C. 785.34D. 709.8
There are w windows on each of 8 buildings. Write an expression to represent how many windows there are
what is LK rounded to the nearest hundredth?what is JK rounded to the nearest hundredth?
I need help on these questions here is an image
16 decreased by a number x
5. Anna has 40 CDs in her music collection, 75% of her CDs are rock music. How many rock CDs does she have? O 10 O 53 O 16 30
16 oz harbor peanut butter for 2.49 or a 64 oz jar of peanut butter for 6.99 round everything up to the nearest cent or hundreth. yes mam
The local bike shop rents bikes for $18 plus $6per hour. Bill paid $36 to rent a bike. For howmany hours did he rent the bike for?