Guest User

Untitled

a guest
Mar 17th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4. int main(int argc, char** argv){
  5. string input="";
  6. getline(cin, input);
  7. for (int i = 0; i < 10; i++) {
  8. for (int j = 0; j < 10; j++) {
  9. if (input[i * 10 + j] == NULL) {
  10. return 0;
  11. }
  12. printf("%c", input[i * 10 + j]);
  13. }
  14. printf("\n");
  15. }
  16. return 0;
  17. }
Add Comment
Please, Sign In to add comment