#include <stdio.h>
int distanciaCorrida(int inicio, int fim) {
return fim - inicio;
}
int main() {
int kminicial = 200000;
int kmfinal = 207349;
int distancia = distanciaCorrida(kminicial, kmfinal);
printf("A distancia percorrida pelo carro foi de %d km", distancia
); }
//https://pt.stackoverflow.com/q/204831/101
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgZGlzdGFuY2lhQ29ycmlkYShpbnQgaW5pY2lvLCBpbnQgZmltKSB7CiAgICByZXR1cm4gZmltIC0gaW5pY2lvOwp9CgppbnQgbWFpbigpIHsKICAgIGludCBrbWluaWNpYWwgPSAyMDAwMDA7CiAgICBpbnQga21maW5hbCA9IDIwNzM0OTsKICAgIGludCBkaXN0YW5jaWEgPSBkaXN0YW5jaWFDb3JyaWRhKGttaW5pY2lhbCwga21maW5hbCk7CiAgICBwcmludGYoIkEgZGlzdGFuY2lhIHBlcmNvcnJpZGEgcGVsbyBjYXJybyBmb2kgZGUgJWQga20iLCBkaXN0YW5jaWEpOwp9CgovL2h0dHBzOi8vcHQuc3RhY2tvdmVyZmxvdy5jb20vcS8yMDQ4MzEvMTAx