Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- char s[76];
- int i, c = 0;
- gets(s);
- for (i = 0; s[i] != '\0'; i++) {
- if (s[i] == '@'){
- c=i;
- for (i = c; s[c] != '\0'; c++) {
- if (s[c] == '.') printf("unesen je e mail");
- }
- }
- }
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement