#include <stdio.h>

//This program counts up to the number that the user inputs by tenths.

int main(void){
	//I declare a variable and get the user to put in a number to count up to by tenths.
	float n;
	printf("Enter the integer you want to count up to: ");
	scanf("%f",&n);

	//I calculate the number of steps I'll need to take to get to the number
	//by multiplying it by ten, since I'm counting by tenths.
	int steps = n * 10;

	//I declare a variable to hold the number of steps I've taken so far.
	int i = 0;

	//While I haven't taken enough steps
	while (i < steps){
		//multiply the number of steps I have by one tenth and print that out
		printf("%.2f\n",1/10 * (float)i);

		//add to the number of steps I've taken so far.
		i = i + 1;
	}

	return 0;
}
