using namespace std;
int
float reszta;
int main()
{
cout << "Podaj poczatek zakresu" <
cout << "Podaj koniec zakresu" <
if(a>b) {
c=a;
a=b;
b=c;
}
cout<
{
reszta=i%3;
if(reszta==0){
cout<<"Liczba "<< i <<" jest podzielna przez 3"<
}
return 0;
}
#include
using namespace std;
inta,b,c,i;a, b, i, c;
float reszta;
int main()
{
cout << "Podaj poczatek zakresu" <cin>>a;
cout << "Podaj koniec zakresu" <cin>>b;
if(a>b) {
c=a;
a=b;
b=c;
}
for(i=b; i>=a; i-=7){for(i=a;i<=b;i++)
cout<
{
reszta=i%3;
if(reszta==0){
cout<<"Liczba "<< i <<" jest podzielna przez 3"<}
}
return 0;
}
Title | Name | Language | UNIX | When |
---|---|---|---|---|
Re: Re: Re: Re: Re: Re: Untitled | Scorching Capybara | cpp | 1508434827 | 7 Years ago. |