1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
masha68 [24]
3 years ago
14

Write code that prints: Ready! userNum ... 2 1 Blastoff! Your code should contain a for loop. Print a newline after each number

and after each line of text Ex: userNum = 3 outputs: Ready! 3 2 1 Blastoff!
Computers and Technology
1 answer:
ludmilkaskok [199]3 years ago
7 0

Answer:

The program to this can be described as follows:

Program:

#include <iostream> //defining header file

using namespace std;

int main() //defining main method

{

int number,l,value=0; //defining integer variables

cout<<"UserNum = "; //print message

cin>>number; //input value by user-end

cout<<"Ouput: Ready!"<<endl<<number<<endl; //print input value with message

for(l=1;l<number;l++) //loop print value in reverse order

{

value=number-l; //calculate value

cout<<value<<endl; //print value

}

cout<<"Blastoff!"; //print message

return 0;

}

Output:

UserNum = 3

Ouput: Ready!

3

2

1

Blastoff!

Explanation:

Description of the above code:

  • Three integer variable "number, l, and value=0" is defined in this program, in which the number variable takes input from the end and the variable l and value is used in the loop to calculate the value in reverse order.
  • In the for loop is declared, a variable value is defined, which calculates the value in reverse order and uses a print method to print the value.
You might be interested in
If a user was a part of a conversation and would like to be removed by using ignore conversation what will occur
777dan777 [17]

Answer:

All current and future messages would be ignored

Explanation:

The ignore conversation is one feature that You can use to keep away from conversations that you do not want to be a part of. By using this Ignore Conversation feature, all current and future messages would be ignored.

This ignoring feature would you away from future responses to this conversation. your inbox would be free of them so you can focus on important messages.

6 0
3 years ago
Consider a network of 8 routers connected together to provide more than one path of connectivity between host A and host B at tw
ser-zykov [4K]

Answer:

Option C is the correct option to the following question

Explanation:

Because there are not any limits is required of sending data and packets between host A and host B by the routers and the router permit more than one paths between the hosts for the establishment of the connectivity st two distinct locations in the routing protocol. The router transmits the packets between the hosts that is produced by link-state protocol.

5 0
3 years ago
sales reps at universal containers use salesforce on their mobile devices. They want a way to add new contacts quickly and then
Mamont248 [21]

Answer:

Build a global action to create Contacts

Explanation:

Based on the information given the mobile solution that an app builder should recommend should be GLOBAL ACTION because global action enables new contact to be created quickly ,Global actions also enables the creation or update of records as well sending email, all without leaving the page the person is working on which is why GLOBAL ACTION is often recommended because it saves time.

6 0
4 years ago
After the data are appropriately processed, transformed, and stored, what is a good starting point for data mining?
Oksana_A [137]

Data visualization

Data visualization is a good starting point for data mining. There are several approaches to data mining that supports smart decisions. Data visualization places data in a visual context. It extracts the data in a clear and understandable way without any form of reading or writing. Results are displayed in the form of pie charts, graphs, and any other statistical representation. Such multidimensional views of data aid in developing a preliminary understanding of the trends that are hidden in the data set.

7 0
4 years ago
Hi finish this lyric for 100 hundred points choke me like now you
melamori03 [73]
Uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
7 0
3 years ago
Read 2 more answers
Other questions:
  • The google android mobile operating system is a proprietary system, for use on only approved devices.​
    10·1 answer
  • Write a note on secondary storage​
    14·1 answer
  • Which of the following conditions must be met for a language to be a true programming language?
    8·2 answers
  • Jane, an employee in the human resources department, has created several important PDF documents on her computer that all office
    9·2 answers
  • This term describes two or more arrays that hold related data, and the related elements in each array are accessed with a common
    15·1 answer
  • Measurement consists of:__________
    5·1 answer
  • Assign a variable solveEquation with a function expression that has three parameters (x, y, and z) and returns the result of eva
    14·1 answer
  • The Fast as Light Shipping company charges the following rates. Weight of the item being sent Rate per 100 Miles shipped 2kg or
    13·1 answer
  • Lol WAKE UP!!! and get ready to answer my questions.
    12·1 answer
  • Beth is a software developer who is focused on identifying early-stage interface problems. Beth addresses the dimension of usabi
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!