Write a for loop that prints in ascending order all the positive multiples of 5 that are less than 175, separated by spaces.
.
.
Click on the title for the solution
.
.
for (int x=5; x<175; x++)
{if (x%5==0) cout<<x<<' ';}
.
Click on the title for the solution
.
.
This is the answer:
:
for (int x=5; x<175; x++)
{if (x%5==0) cout<<x<<' ';}
Comments
Post a Comment