Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main(int argc, char** argv){
- string input="";
- getline(cin, input);
- for (int i = 0; i < 10; i++) {
- for (int j = 0; j < 10; j++) {
- if (input[i * 10 + j] == NULL) {
- return 0;
- }
- printf("%c", input[i * 10 + j]);
- }
- printf("\n");
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment