- #1
opus
Gold Member
- 717
- 131
Homework Statement
I'm making a program to display what I have posted in the image and my program needs to look just like it.
The idea is to have an employee enter information such as their pay and hours worked. Then taxes get calculated and it shows a net amount that the employee has made for the week.
Homework Equations
The Attempt at a Solution
If you look at line 17, I have underlined in yellow what is giving me problems.
In hovering over the text, the pop-up window reads: "Expected type 'float', got 'string' instead"
Why is it making it a string? That corresponding object is spelled out on line 16 and it's not a string there.
Any ideas?
Apologies if it's hard to understand what I'm doing with the code. I'm still very new and I'm sure it looks hideous to the more experienced type.