Converting whole number into decimal
In one of my class exercises, I have to write a program that reads certain employee information and prints a payroll statement. I have to write it once using dialog boxes for input/output and again using console input/output.
One of the fields is the federal tax withholding rate. I have it set up so that I can enter a number (i.e., 20). What I need to do is convert that 20 into .20 and display it. I know how to display it but cannot figure out how to convert it.:confused: