85000 is 60000 + 25000
The 60000 is a fixed amount for every line.
How is the 25000 computed? How is it based on 1000000?
Should the 25000 value change for every row that is printed? If so, there...
Type: Posts; User: Norm
85000 is 60000 + 25000
The 60000 is a fixed amount for every line.
How is the 25000 computed? How is it based on 1000000?
Should the 25000 value change for every row that is printed? If so, there...
What is the value of this expression: total*bonus+salary
Print it out without formatting to see what its value is.
Its a VERY BIG number.
What is the equation that will create the 85000.00...
Have you worked with the numbers on a piece of paper or with a calculator and gotten the values that you want to see printed?
What is the equation that will generate: 85000.00 given 1000000?
What is the value of: total*bonus+salary? That is what is being printed.
Check your equations.
Please copy and paste the window's contents here. The image is too small and its contents can't be copied and pasted in comments.
To copy the contents of the command prompt window:
Click on...
Please post the program's output and add some comments to the output saying what is wrong with it and show what it should look like.