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

expression is equivalent to 3m+1-m
Given: f(x)=x 2 +2 g(x)=x−5 Find: (f−g)(x)
Divide ₹200 in the ratio 2:3​
Let f(x) = -3x -3 and g(x) = -x +7 Find f(g(x)) Find g(f(x))
ATP energy actually helps energize the... transport proteins. molecules. cell membrane.
Determine if the sequence below is arithmetic or geometric and determine the common difference/ ratio in simplest form 72, 12, 2
Convert the following order into milligrams. 0.35 gram=
1. a = What type of segment is WX? Which property did you use? Show your work in the space below.
Can someone help me with this plssss it will help alot :) (IM GIVING 95 POINTS)
A basketball regularly sells for $28. It is 20% off. How much will you pay for the basketball?