View difference between Paste ID: Hk6BnU0f and LMZMuUAZ
SHOW: | | - or go back to the newest paste.
1
int main()
2
{
3
    string slovo1 , slovo2 , slovo3;
4
5-
    if ((scanf("%s %s", &slovo1, &slovo2)) ){
5+
    if ((scanf("%s %s %s", &slovo1, &slovo2 ,&slovo3)) ){
6
        printf("Invalid input.\n");
7
        return 0;
8
    }
9
   
10
  }