Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- #include<string.h>
- int main(){
- char str1[100], str2[100];
- printf("password:\n");
- gets(str1);
- printf("confirmar senha:\n");
- gets(str2);
- if(strcmp(str1,str2)==0)
- printf("seha correta\n");
- else
- printf("senha errada\n");
- system("pause");
- return 0;
Add Comment
Please, Sign In to add comment