yes, this is homework, but ive always avoided programming and had no prior knowledge going into the class. im starting to get the hang of it, but its really not my thing so figuring out new bits of logic is still taking me some time.
i googled around and found some examples, but theyre all in other languages (python, java, stuff i understand less than the QBASIC we use in the intro class)
i know i need to define some things, like values of all the change, but im not really sure about the logic needed to do the actual work.
problem: define customer records where each customer buys an item for less than a dollar, and pays for it with one dollar. output should return the change amount (yes, i can do *that* part) and the amount of change given in quarters, dimes, nickles and pennies.
i just cant find an example where i understand the logic well enough to get anything done, anyone mind pointing me in the right direction?
i googled around and found some examples, but theyre all in other languages (python, java, stuff i understand less than the QBASIC we use in the intro class)
i know i need to define some things, like values of all the change, but im not really sure about the logic needed to do the actual work.
problem: define customer records where each customer buys an item for less than a dollar, and pays for it with one dollar. output should return the change amount (yes, i can do *that* part) and the amount of change given in quarters, dimes, nickles and pennies.
i just cant find an example where i understand the logic well enough to get anything done, anyone mind pointing me in the right direction?
