Advertisement
szarlotkas

superkokonus na ratunek

Mar 10th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. printf("Podaj 15 roznych liczb calkowitych \n");
  2.     for (i=0; i<=14; i++)
  3.     {
  4.         scanf("%d", &tab[i]);
  5.         for (j=0; j<=14; j++)
  6.         while ( tab[i] == tab[j] && i != j)
  7.            {
  8.                 printf("Juz podales taka liczbe !");
  9.                 scanf("%d", &tab[i]);
  10.            }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement