Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
- int main()
- {
- char s1[20] = "Ispit";
- char s2[20] = "Kolokvium";
- for(int i = 0; i < strlen(s1); i++) {
- if(s1[i] == s2[6]) {
- return 0; // zavrisi ja programata
- }
- }
- printf("zdravo!\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement