Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // TARIKAT EDITION :)
- #include <iostream>
- #include <string>
- using namespace std;
- int main()
- {
- string line;
- getline(cin, line);
- while (line != "end") {
- if (isdigit(line[0])) {
- cout << line << endl;
- }
- getline(cin, line);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement