Answer:
The answer to the following question by the C++ programming language.
#include <iostream> //header file
using namespace std; // namespaces
int main() // main function
{
for (int i=1; i<175; i++){ // set for loop
if ((i % 5) == 0){ // set if condition
cout << i << " ";
}
}
}
Output:
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125 13 0 135 140 145 150 155 160 165 170
Step-by-step explanation:
Here, we define header file and namespaces.
Then, we define the main() function.
Then, we set the for loop, which starts from 1 and stop at 174.
Then, we set the if condition, which divides each integer value from 1 to 174 from 5.
Then we set "cout<< ;" which prints all those integer values which is divided by 5 with space.