/* to include atoi, auto vars, floats, chars, maths */#include <stdio.h>#include <stdlib.h>void main(){ char age_a[3]; int age_i; int debt=10000; float debtcalc; char name[20]; char progvers[]="v0.1\n"; printf("Debt Calculator Program %s",progvers); puts("What is your name?"); scanf("%s",name); printf("How old are you please?\n"); scanf("%d", &age_i); printf("You typed: %i\n", age_i); debtcalc=(float)debt/(float)age_i; printf("Well %s, you've amassed £%i debt in %i years\n",name,debt,age_i); printf("Equivalent to £%.2f for every year of your life\n",debtcalc);}