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

Cooling foods must reach what temperature in how many hours?
What did the second continental congress accomplish? conducted the revolution, organized a boycott against the stamp act, wrote the constitution, voted for inde
Which of the following is not an example of how Africans viewed land? A) communities shared land. B) Land was worked by the community. C) Land was so importa
Could somebody please help? Thank you:)
The Kentucky Resolutions of 1798 and Virginia Resolutions of 1799 were significant in that they challenged the authority of the federal government and argued in
How do you say i like cats in spanish?
The person of the king is sacred, and to attack him in any way is an attack on God itself. Kings represent the Divine Majesty and have been appointed to Him to
Sam walks at a rate of 300 ft per minute. How many inches per second does he walk? (1 foot = 12 inches) A = 30 inch per second B = 60 inch per second C = 150 in
what is 3/4 of 5 hours
What is a good topic sentence for a world history essay?