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

How would you describe Lady Bird Johnson's character, given what you have read in this excerpt from A White House Diary? Identify two character traits that you
3 Let g(a) = a² + 1 Evaluate g(-2)​
Help please!! I'll name you brainliest!! 7 & 8 please.
Which of the inventions do you think would have been the most important for spreading European influence in Africa? А Quinine В Repeating rifle С Steam engine D
PLS ANSWER I WILL GIVE BRAINLIEST
Which phrase best completes the diagram? Cause: Moorish conquest of Iberian Peninsula Effect: ? A. Formation of the Byzantine Empire B. Creation of democracy C.
What is the result when we simplify the expression ( 1 + 1 /x ) ( 1 − 2/x + 1 ) ( 1 + 2/ x − 1 ) ?
what is the Circumference of this circle
Which of the following is not contained in pancreatic juice?
heat alwais moves from ____ to _____.