Facebook
From Corrupt Capybara, 6 Years ago, written in C++.
This paste is a reply to Re: Re: Untitled from Diminutive Bushbaby - view diff
Embed
Download Paste or View Raw
Hits: 480
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int a, b, i;
  5. float reszta;
  6. int main()
  7. {
  8.     cout << "Podaj poczatek zakresu" <<endl;
  9.     cin>>a;
  10.     cout << "Podaj koniec zakresu" <<endl;
  11.     cin>>b;
  12.     for(i=a;i<=b;i++)
  13.     {
  14.         reszta=i%3;
  15.         if(reszta==0){
  16.             cout<<"Liczba "<< i <<" jest podzielna przez 3"<<endl;
  17.         }
  18.     }
  19.     return 0;
  20. }
  21.  

Replies to Re: Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Re: Untitled Capacious Parakeet cpp 6 Years ago.