Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- using namespace std;
- int main(void)
- {
- int edad;
- char oracion[50];
- cout << "Ingresa tu edad " << endl;
- cin >> edad;
- cout << edad << " años" << endl;
- cout << "\n Ingresa una oración "<<endl;
- cin>>oracion;
- //cin.getline(oracion, 40, '\n');
- cout << oracion << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement