Computer Science Canada Hello I am having a little problem with my code ! I would love a fast response! |
Author: | themunit [ Wed Oct 08, 2014 3:45 pm ] | ||
Post subject: | Hello I am having a little problem with my code ! I would love a fast response! | ||
What is the problem you are having? <I am trying to make a change machine. when I try to run my code to see if the first one is right for toonies and how much it will give back, the program says assigned value is the wrong type.> Describe what you have tried to solve this problem < I have tried replacing the value or even the whole varable. I am trying to make a change machine. when I try to run my code to see if the first one is right for toonies and how much it will give back, the program says assigned value is the wrong type>
Please specify what version of Turing you are using <latest verison> |
Author: | Tony [ Wed Oct 08, 2014 4:27 pm ] |
Post subject: | RE:Hello I am having a little problem with my code ! I would love a fast response! |
What is the type of the variable? What is the type of the value you are trying to assign to that variable? |
Author: | themunit [ Wed Oct 08, 2014 4:45 pm ] |
Post subject: | RE:Hello I am having a little problem with my code ! I would love a fast response! |
I fixed it thanks for the comment tho. it was just the wrong :int after the var |