What should be the output of the following c++ program ?
#includeiostrem
using namespace std;
int main();
{
int i = 0;
int x = 0;
do
{
if (i % 5 == 0)
{
count x;
x++;
}
++ i;
}
while ( i 10 );
count x
return 0;
}

Posted on by