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

I need help with number 6
Which image illustrates the absorption of a wave as it strikes a surface?
A gallon of milk that cost $3.89 a year ago now costs $4.05. A. If the cost is increasing linearly, what is the growth rate? If the cost kept increasing in the
Find the volume of a rectangular prism with length 7 feet,width 6 feet, and height 4 feet.
A meaningful sentence with barber and numb in one sentence
QUESTION 15 Of all the clinical service providers, which group sees the largest number of people who are experiencing issues with mental health in Canada? O cli
11. The radius of a circle H is 7.5 inches. Calculate the diameter of the circle. 12. The radius of a circle is 8.2 centimeters. Calculate the circumference of
1. A nosotros, _________ ______________ trabajar.
Rotate rectangle ABCD 90ºccw about the origin. What are the image coordinates?
what determines the length of a geologic time period