olwengechris olwengechris
  • 25-05-2022
  • Computers and Technology
contestada

write a c program to display even numbers from 10 to 20 in descending order​

Relax

Respuesta :

rvkacademic
rvkacademic rvkacademic
  • 30-05-2022

Answer:

#include <stdio.h>

int main(){

   for (int i = 10; i < 21; i+=2){

       printf("%d\n", i);

   }

   return 0;

}

Explanation:

i+=2 increments i by 2 starting with 10 so it prints out only even number

s

i < 21 because we also want to print out 20

Answer Link

Otras preguntas

Find the value of n such that x^2-19x n is a perfect square trinomial. Answer choices: A. -19/2 B. 361/4 C. 361 D. 361/2
Jade measured the height of an art frame as 5.23 feet, but the actual height was 6 feet. What is the precent of error in jades measurement?
What is the greatest common factor of 48 and 84?
Find the value of n such that x^2-19x n is a perfect square trinomial. Answer choices: A. -19/2 B. 361/4 C. 361 D. 361/2
Who do you think was more of an absolute monarch: Ivan the Terrible or Peter the Great?
7e−4=31 Solve for e.
What factors allowed large coastal cities to develop in the Middle Colonies?
Why do many cities near the California coast begin with san or santa?
What is the sign of the product (3)(–3)(–2)(4)?
Solve the following equation for L: P= 2L + 2W