Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- #include "stdio.h"
- int inverse()
- {
- int c = 0;
- char a;
- scanf("%c", &a);
- if (a != '.') {
- if (c != 5)
- {
- c = c + 1;
- inverse();
- printf("%c", a);
- };
- return 1;
- };
- return 0;
- }
- int main()
- {
- inverse();
- while (inverse() == 1) inverse();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement