answersLogoWhite

0


Best Answer

#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

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

#include <iostream>

#include <string>

using namespace std;

int main()

{

string name, streetname;

int housenum;

cout<<"Enter your name: ";

cin>>name;

cout<<"Enter your house number: ";

cin>>housenum;

cout<<"Enter your street name: ";

cin>>streetname;

cout<<endl<<<name<<endl;

cout<<housenum<<" "<<streetname;

system("pause");

return 0;

}

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

int main () { int c; FILE *f = fopen (__FILE__, "r"); if (!f) return 1; for (c=fgetc(f); c!=EOF; c=fgetc(f)) putchar (c); fclose (f); return 0; }

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

#include

int main (void) { puts ("print"); return 0; }

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

#include <iostream>

int main()

{

std::cout << "A. N. Other" << std::endl;

return( 0 );

}

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

class name

{

public static void main(String args[])

{

String a="sakthi";

System.out.println(a);

}

}

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Use a text editor.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c plus plus program that prints your name and address?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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; }


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


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


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.


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

you dont it writes on you


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

your name