Use a counter named count that has an initial value of 1, a final value of 100, and an increment of 5
#include<iostream>
using namespace std;
int main()
{
int count = 1;
for (int count = 0; count <= 100;count = count + 5 )
{
cout << count <<"\n";
}
return 0;
}
tama po ba or may iba pa pong solution?
#include<iostream>
using namespace std;
int main()
{
int count = 1;
for (int count = 0; count <= 100;count = count + 5 )
{
cout << count <<"\n";
}
return 0;
}
tama po ba or may iba pa pong solution?