Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int liczba1, liczba2;
  6. do
  7. {
  8. printf("Podaj takie 2 liczby, aby ich roznica wynosila 100: ");
  9. scanf("%i%i", &liczba1, &liczba2);
  10. }while(liczba1 - liczba2 != 100);
  11.  
  12. printf("Podano 2 dobre liczby");
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement