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

What's the word for looking down on others; proud and scornful
What's the other word speaking in circles; round-about speech
explain in steps how to graph this linear inequality 2x+3y > -2
If X is the set of negative numbers and Y is the set of positive numbers, then the union of X and Y and 0 is the set of (A) all real numbers (B) all integers (C
The diameter of a cylinder is 6 feet 6 inches. The height of a cylinder is 12 feet 3 inches. What is the surface area?    (feet squared)What is the volume?
Molecular scientists can read the DNA code and compare the DNA of different organisms. This concept is used in molecular clocks to determine which of the follow
What's the other term for: explosive or changing very quickly
What's the other term for: explosive or changing very quickly
The diameter of a cylinder is 6 feet 6 inches. The height of a cylinder is 12 feet 3 inches. What is the surface area?    (feet squared)What is the volume?
Which chemical equation best describes the reaction of potassium metal with fluorine gas to form solid potassium fluoride? A. K(s) + F2(g) → KF2(s) B. K(s) + F(