Ask Question

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

+3
Answers (1)
  1. 6 May, 08:34
    0
    You never said what language so I used C

    #include

    int main () {

    int a;

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

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

    printf (" Blast OFF!/n");

    return 0;

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write code that prints: usernum ... 2 1 blastoff! your code should contain a for loop. print a newline after each number and after ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers