Czemu mi to nie działa?
#include <iostream>
using namespace std;
int main()
{
int suma = 0;
for(int i=23;i<=2011;i++)
{
if(i%18==0)
{
suma++;
}
}
cout << suma << endl;
return 0;
}
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
ja to tak widze
#include <iostream>
using namespace std;
int main()
{
int suma = 0;
for(int i=23;i<=2011;i++)
{
if(i%18==0)
{
suma++;
}
}
cout << suma << endl;
cin.ignore();
getchar();
return 0;
}