main.c
//Ask the user to input the desired save interval (10 to the power of the input, must be lower than 1/10th of the number of samples)
Ask the user to input the desired save interval (10 to the power of the input, must be lower than 1/10th of the number of samples)
Ask the user to input the desired save interval ( 10 to the power of the input must be lower than 1 / 10th of the number of samples )
int inputSaveInterval (int samples) {
	int saveInterval = samples;
	while(saveInterval > samples-1) {
		printf("Please enter the desired save interval (<= samples/10): 10e");
		scanf("%d", &saveInterval);
		if (saveInterval > samples-1) {
			printf("Save interval too large!\n");
		}
	}
	return(saveInterval);
}
int inputSaveInterval ( int samples ) { int saveInterval = samples ; while ( saveInterval > samples - 1 ) { printf ( " " ) ; scanf ( " " , & saveInterval ) ; if ( saveInterval > samples - 1 ) { printf ( " \n " ) ; } } return ( saveInterval ) ; }
Ask the user to input the desired save interval (10 to the power of the input, must be lower than 1/10th of the number of samples)
Ask the user to input the desired save interval ( 10 to the power of the input must be lower than 1 / 10th of the number of samples )