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
irina [24]
4 years ago
5

. Suppose that name is a variable of type string. Write the input statement to read and store the input Brenda Clinton in name

Computers and Technology
1 answer:
prohojiy [21]4 years ago
3 0

Answer:

The program to this question can be given as follows:

Program:

//header file

#include <iostream> //defining header file  

using namespace std;  

//main

int main() //defining main method

{

   string name; //defining main method

   cout<<"enter name: "; //print message

   getline(cin,name); //using getline method

   cout<<"The name you inserted is: "<<name; //print value

   return 0;

}

Output:

Please Enter Name: Brenda Clinton

The name you inserted is: Brenda Clinton

Explanation:

Firstly the header file is included in the above C++ program code, in the next line the main method is defined, inside this method the string variable is defined which takes value from user-ends.

  • In the above specifies the getline method, which can be referred to as a standard library feature for reading an input stream string or a line. It removes characters from the input stream and applies this to the string object until the character is delimited.
  • After taking input the print method "cout" is used to print "name" variable value.

You might be interested in
Anna wants to keep information secure from offenders. Which software should she install on her computer to ensure Internet safet
Goshia [24]

Anna wants to keep information secure from offenders. Which software should she install on her computer to ensure Internet safety?

O A database software

OB

presentation software

OC. anti-virus software

OD

graphics software

Answer: OC

6 0
3 years ago
A new company will have 40 workstations in one building sharing a single network. All users must be able to share files and prin
algol [13]

Answer: Domain networking

Explanation:Domain networking is the networking technology that is used for the cluster of the multiple computer network or hosts in a particular structure unit.This helps in the sharing of the resources in that singles infrastructure through domain.

The name of the domain units are uniquely assigned by the domain name system(DNS) which is accessible by the public internet. Company should use the domain networking for the grouping of the 40 workstation to share the files and other resources .

4 0
4 years ago
An IT company revises its process parameters in response to complaints from vendors that products were not ready on time. This w
Leto [7]

Answer:

Option a: corrective action

Explanation:

A corrective action is a way to offer the remedy to a process or product which fail to meet expectation and doesn't work as intended. This is one of the management aspect to improve the quality of a product or process. By running corrective action, the undesirable damage brought by the erroneous or faulty process can be eliminated or at least reduce to certain extend.

6 0
3 years ago
How to make a Tip Calculator in code?
ki77a [65]
You should have the percentage of tip based on the service that you received.
Then you multiply the percentage of tip by the amount of money that you have to pay for what you bought.
4 0
4 years ago
What are some ways in which reading and writing have changed in our newly networked world
olga_2 [115]
Reading and writing have given us both a way to pass on knowledge and learn things we cant learn first hand.<span />
3 0
4 years ago
Other questions:
  • In Microsoft Excel graphs are referred to as ______?
    14·2 answers
  • (PLS HELP 99 POINTS) In a paragraph of no less than 125 words, explain the three aspects involved in gaining a true appreciation
    14·2 answers
  • Where do endnotes appear in a document? at the bottom of the page at the top of the page at the end of the document at the end o
    12·1 answer
  • The replacer parameter of the stringify method accepts a/an ______________ or an array.
    15·1 answer
  • What is a device that is around the same size as a credit card, containing embedded technologies that can store information and
    10·1 answer
  • Anyone wanna play Bloons tower defense 5 im rank 52
    5·2 answers
  • How 0x86 processor store 0x12345678 in memory ​
    13·1 answer
  • HTML tag that makes a text field used by javascript statement
    6·1 answer
  • Any computer expert to help me answer this question plz am giving brainliest
    11·1 answer
  • Guys, if I'm going back to 505 and it's a 7-hour flight or a 45-minute drive how do I get to 505?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!