
// C08_Ex 7: Checkout cost of taxi from kilometer input. Known:// First km: 5$// 2 -> 5 km price: 4$// 6 km -> price: 3$// If > 120km , will sale 10% #include <stdio.h>#define G1 5#define G2 4#define G3 3void main(){ int n; float cost; printf("Input numbers of km (>0): "); scanf("%d", &n); if (n == 1) ...