Ask a New Question

Question

writing a program using loop structure, need the equation to produce all even numbers from 2-100 to print out each time I go through the loop
11 years ago

Answers

Steve
loop {
for (i=2;i<=100;i+=2) {print i}
}
11 years ago

Related Questions

After writing the program of Exercise 17.7, write a simple program to create some test data for chec... Write a program using for loop along with switch case You are writing a program that will store inventory information for a car dealership. Which of the f... You are writing a program that will manage an ordering service for a restaurant. Which of the follow... You are writing a program that requires input data, but you do not have any. By what process could y... You are writing a program and want to use a divide and conquer method for sorting the data, a pivot... You are writing a program that requires input data, but you do not have any. By what process could y... You are writing a program that will make it possible for people arriving at a train station to get i... If you were writing a program, would you use RBG or hex codes to indicate colors? Why? What argument...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use