Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- А за тук какво би казал? със firstName,lsatName,town,age е ок, но щом сложа имената и годините и дава 4 грешки.
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main()
- {
- string Ivan;
- cin >> Ivan;
- string Ivanov;
- cin >> Ivanov;
- int 25;
- cin >> 25;
- string Sofia;
- cin >> Sofia;
- cout << "You are " << Ivan << " " << Ivanov << ", a ";
- cout << 25 << "-years old person from ";
- cout << Sofia << "." << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement