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

If (3+y)/y=7, then y= Please help :)
Ratio equal to the ratio given 12:7
In the book: A Wrinkle in timeWhat advice, which was given by Mrs. Who, does Charles Wallace forget to follow?A.Only fools are afraid.B.Go off on your own when
jessicas shoebox is 20 centimeters long and 10 centimeters wide. how many more millimeters is the length of the shoebox than the width
what is the negative of -1/3 and why??
if i got 68 correct on my math test and the total is 85 what is the score?
What causes chemical weathering?
Which sentence correctly forms the plural of the letter c?   A.How many c's are in accordion?   B.How many cs'
A hiking club has 9 members. How many ways can they choose a president, vice president, secretary, and treasurer from among the members?
Consider the relation {(–4, 3), (–1, 0), (0, –2), (2, 1), (4, 3)}.Graph the relation.State the domain of the relation.State the range of the relation.Is