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

The sum of two number is 15 and thir is 1 difference
what measures should be taken to solve the social problems and evils from the side of government,political parties,students and community?Make a list of them.​
The table below shows that the number of miles driven by Nolan is directly proportional to the number of gallons he used.
Evaluate -8 x |2|. A.-16 B.-10 C.16 D.10
What precautions should you take to avoid exposure to Bloodborne pathogens?
PLS HELP ! 100 POINTS!!!!! Select the correct answer. This graph represents a quadratic function. What is the value of a in the function’s equation?
Write the equation for a parabola with a focus at (-7,-5) and a directrix at x = -4
I like to pair of fractions as a pair of fractions with a comedy network number 1 1\2 and 1/3 2. \4 and 5\8
Your employer must offer (at no cost to you) a vaccine against ___________ if your job _____________.'
What is the measure of z G?