ponyolovezsosuk6810 ponyolovezsosuk6810
  • 16-09-2017
  • Computers and Technology
contestada

Write code that prints: usernum ... 2 1 blastoff! your code should contain a for loop. print a newline after each number and after blastoff!. ex: usernum

Respuesta :

Аноним Аноним
  • 17-09-2017

You never said what language so I used C

#include <stdio.h>

int main () { 

  int a;  

  for( a = 3; a > 0; a-- ){ 

      printf("%i \n", a); }

  printf(" Blast OFF !!!\n");   

return 0; 

}

Answer Link

Otras preguntas

How is the horizontal component of velocity for a projectile affected by the vertical component?
How do I solve 2(a+2)=2?
Give this topic sentence : Swimming is really the health exercise anyone can do. What other detailed sentence you can say about the topic sentence.
Anne has 24 more cards than Devi.  Anne finds that 3/5 of Devi's cards are equal to 1/2 of her cards.  How many cards does Anne have?
find the area of a triangle with the following dimensions: a = 12 yards b=16 yards and c=24 yards round to the nearest square yard
what the british government wanted?
I need the inequality answer.florence wants to buy onions and doesn't want to spend no more than $3. Can she buy 2.5 pounds ? They are 1.25 pound
convert to fraction .34
How many grams are in 11.9 moles of chromium?
How many grams are in 11.9 moles of chromium?