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 best describes taxes in both the American colonies and France before their revolutions? Clergy and nobles paid no taxes. Everyone was taxed equally. Most
What attracted European trading companies to India?​
Josiah has a loyalty card good for a 18% discount at his local pharmacy. What number should be multiply the prices on the tags by to find the price he would hav
Write a letter to your DCE suggesting three ways of improving sanitation in your community
A local marketing company did a survey of 30 households to determine how many devices the household contained that family members watched video on (i.e. TV’s, t
anyone up for some fun ? i am bóréd​
I (not/go out) last Sunday because it (rain)
May I please receive help
If these two shapes are similar, what is the measure of the missing length w? 18 cm 3 cm 6 cm
find height thanks IIIIIIIIIIIII