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
Darya [45]
3 years ago
8

CHALLENGE ACTIVITY 2.14.1: Printing a message with ints and chars. Print a message telling a user to press the letterToQuit key

numPresses times to quit. End with newline. Ex: If letterToQuit = 'q' and numPresses = 2, print:
Computers and Technology
1 answer:
barxatty [35]3 years ago
8 0

Answer:

Following are the program in c++ language

#include<iostream> // header file

using namespace std; // namespace

int main() // main method

{  

char l;   // variable declaration  

int number_presss; // variable declaration  

cout<<"Enter the character letter To Quit the key and num to Press: ";

cin>>l; // Read the character value

cin>>number_presss;// Read the integer value  

cout<<"Press the key  "<<l<<" key 4  "<<number_presss<<" times to quit"; //display the number with the format

}

Output:

Enter the character letter To Quit the key and num to Press: w

4

Press the key  w  key 4 times to quit

Explanation:

Following are the Explanation of the program  

  • Read the integer value in the "number_presss" variable by the user using cin function.
  • Read the character value in the "l" variable by the user using cin function.
  • Finally display their value in their respective format
You might be interested in
Special characters that display on the screen but do not print are called _____________
Eva8 [605]
Whitespace characters ?
5 0
3 years ago
What is the name of the formal procedure scientists use to study the world around them?
bearhunter [10]
The correct answer to your question is the scientific method hope this helps !
4 0
4 years ago
Read 2 more answers
Which of the following is not a component of Google Display ads' value proposition?
Evgesh-ka [11]

Answer:

D. Search.

Explanation:

Google search engine is a engine used in browsers to seek of information related to the search values inputted by the user. This search engine is used in varieties of browsers like google chrome, mozilla firefox, phoenix etc, this is because it has a wide range of Google community web servers to get information.

Google Display ads value proposition is an advertising platform that takes advantage of the enormous google community on the internet of advertise client products and services across thousands of websites.

It uses the intent of the costumer, machine learning and performance of a website to advertise products, it does not need a search component since it is advertised automatically on an active website.

6 0
3 years ago
Canada’s energy plan, named __________, makes three governmental agencies accountable for safeguarding Canada’s environment.
stepan [7]

Answer:

Canada launched the national Generation Energy Council of leading Canadians, who proposed principles to the Government of Canada on how to build our energy future. Today, these principles guide government decisions to support Canadian families, businesses, and communities. Together, we are: saving energy powering clean communities.

Explanation:

8 0
2 years ago
Select the correct answer.
sveticcg [70]

Answer:

D

Explanation:

5 0
4 years ago
Read 2 more answers
Other questions:
  • Mara's presentation included essential information about the company's new safety procedures. She wanted to make
    13·2 answers
  • Ip addresses and their corresponding domain names are used to identify computers available through the internet.
    15·1 answer
  • PLEASE HELP ME ASP!!!
    11·2 answers
  • Who Can Infiltrate And Use Email Notifications To Camouflage Malicious Links ?
    13·1 answer
  • when a page contains function is loaded the browser by passes the function without running it - true or false
    7·1 answer
  • The base 10 number 18 is equal to which base 16 number?<br><br> 10<br><br> 12<br><br> 14<br><br> 16
    11·1 answer
  • Explain the procedure you will undertake to create a new partition​
    11·1 answer
  • Sarah is having a hard time finding a template for her advertising business that she may be able to use at a later
    12·1 answer
  • Qwertyuytrefgvbhnjkmjhgfvbnmjkuhytgfvbnmjkuyhgnjmkiuyhgbnmkloi<br><br> type pig latin now . . .
    14·2 answers
  • A student is having trouble finding enough time in his busy schedule to work on his school science project. He has a demanding s
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!