Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // lab2 dsr.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h" //Libreria de VS
- #include <iostream> //Libreria para Input/Output
- #include <string> //Libreria para string
- using namespace std;
- int main()
- {
- string Nombre;
- string Pueblo;
- cout << "Favor de ingresar su nombre." << endl;
- cin >> Nombre;
- cout << "Favor de ingresar su pueblo de recidencia." << endl;
- cin >> Pueblo;
- cout << "Nombre: " << Nombre << ". " << "Pueblo de residencia: " << Pueblo << "." << endl;
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment