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

Which is one method that should be implemented in a safe workout plan? learn how to warm up push through any bodily symptoms work out through minor muscle str
Please help me solve please
A 75 kg skydiver can be modeled as a rectangular "box" with dimensions 20 cm * 40 cm * 180 cm. what is his terminal speed if he falls feet first? use 0.8 for th
Choose the traits that are present in Romantic music. - nationalism - neoclassicism - exoticism - expression - extremes
Jake pack 12 jars of paint in a box. Each jar and its contents weighed 10 ounces. The empty box weighs 1 pound 14 ounces. What is the total weight of the pact b
can u help please.....
The chemical equation shown represents photosynthesis. Carbon dioxide plus A plus light with a right-pointing arrow towards B plus oxygen. The arrow has an x ab
How do you know the opposite of a nonzero integer?
Is (1,3) a solution of the graphed inequality? Please show work and explain!
Which condition would not help to produce a testlike environment? using your phone as a calculator a time limit a quiet room using no notes or textbook