#include<iostream>
using namespace std;

int main()
{
 float start, end, interval;

 // Get start, end, interval
 cout << "Give me a start: ";
 cin >> start;
 cout << "Give me a finish: ";
 cin >> end;
 cout << "Give me an increment: ";
 cin >> interval;

 // Print out each number, counting up by interval
 for(float currentNum=start; currentNum<=end; currentNum+=interval)
 {
   cout << currentNum << " ";
 }

 // Print a new line
 cout << endl;

 return 0;
}