Just divide your c variable by 100000.0 before displaying it.
BTW, single letter variable names are fine when your program is twenty lines long, but it's not a good habit to get into.
Just divide your c variable by 100000.0 before displaying it.
BTW, single letter variable names are fine when your program is twenty lines long, but it's not a good habit to get into.