answersLogoWhite

0

#include<iostream>

#include<string>

int main()

{

using namespace std;

std::cout << "Enter your full name: ";

std::string name;

std::getline (std::cin, name);

std::cout << "Your full name is: " << name << std::endl;

}

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

How do you write a c program to prints name?

Write a c program that reads your first name and surname when you enter them. Each part of your name should not be more than 12 characters. Finally, have the program display your full name.


Can a programmer change a code line and make it a new program?

Yes. I can write a python program that asks for your name and then prints "Hi, name, good to meet you." by writing the following program.#!/usr/bin/pythonname = input("What is your name? ")print("Hi", name + "," , "good to meet you.")If I change the third line toprint("Hi", name + ",", "good to meet you. Your name is", len(name), "letters long.")It will say "Hi name, good to meet you. Your name is xletters long.", thus making it a different program.


How do you write mail?

it is kind of like a formal letter first you write the address date then the person's address then you write your greeting and your body.On the body remember the first to write your name then tell why you are writing them that letter.Give reasons why you admire them you can often get a write back but you need to write your address letter format: your address date: (fan mail address) celebertie's address greeting and the body: hi my name is Ashley(sample name)i love you and so on...


How to address envelope both dentists?

To address an envelope, write the recipient's name, and, beneath it, address.


Write your name and address in c?

int main (void) { puts ("Your name and address"); return 0; }


Write a program to display the name of days when a user enters a number?

write a program to display your name age class schoolname e-mail 2hobby based on choice


How should you write a letter to Hong Kong you don't know how to write the address?

just write it like a normal address simple, if you don't know how to write a normal address here is how: name address city, state zip/postal code


What is the meaning of superscribe?

To write or engrave (a name, address, inscription, or the like) on the top or surface; to write a name, address, or the like, on the outside or cover of (anything); as, to superscribe a letter.


Write a program to display your name on computer screen?

Faisal


When sending mail to someone who doesn't live at that address but is visiting whom do I put in care of?

There are two ways to address mail to someone who is visiting another address. One, you list your friend's name first in the address section of the envelope. Below your friend's name, write 'in care of' and then give the name of the person who actually lives at that address. Two, on the first line in the address section write the name of the person who actually lives at that address. In the second line, write 'ATTN' and then give your friend's name.


What address should you when you write a letter of complaint to target?

your name


How do write name and address on a grain of rice?

you dont it writes on you