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

Read the following list of subject pronouns. Choose the corresponding list of conditional-tense verb endings below. yo, tú, él, nosotros, vosotros, ellos A. -0,
-Modelo: mis amigos / bailar / club famoso Mis amigos están bailando en un club famoso.- 1. yo / andar por las montañas (enter answer) How do I put this togethe
A cylindrical rod has a diameter of 14 cm and height of 10 cm . What is its total surface area​
3x (4x^2 + 4xy + 5y - 6) = ?​
Determine whether each red path in the vector field is positive, negative, or zero
Does this category include producers? Does this category include consumers? Archaea, bacteria, protists, viruses
write a conversation between you and a social welfare officer on the rising cases of child negligence in you locality
Workers in an office of 40 staff were asked their favourite type of take-away. Pizza 9 Curry 6 Fish & chips 11 Kebab 10 Other 4 How many degrees represent 1
What the correct answer now
write a conversation between you and a social welfare officer on the rising cases of child negligence in you locality