removed debugging code
Signed-off-by: Michael <michael.lindman@gmail.com>
This commit is contained in:
parent
919e5bb1f5
commit
b6d2ba4170
@ -18,7 +18,6 @@ int main() {
|
||||
char input[5];
|
||||
printf("\nHow long does a trip take by car ");
|
||||
fgets(input, 5, stdin);
|
||||
printf(input);
|
||||
double answer = atof(input);
|
||||
int car_time = distance * train / (car - train);
|
||||
int percent = abs(((car_time)-answer)*100/answer)+.5;
|
||||
@ -38,4 +37,4 @@ int main() {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user