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