http://cboard.cprogramming.com/showthread.php?t=76766 I may have found the solution to my problem. I am sorry for the trouble and the double post.
Type: Posts; User: Nick_365
http://cboard.cprogramming.com/showthread.php?t=76766 I may have found the solution to my problem. I am sorry for the trouble and the double post.
I made a fortune teller and stock option option program and it works great. The only problem I have is with the getline command. When I enter my question in the fortune teller function it works fine...
No offence taken, I guess im kinda bending that rule about people doing your homework for you lol. I will google it and try my best to figure this out. Lol and if that fails then I guess I will be...
I just gave it a try but it still isnt showing that extra 0. :confused: I am clueless. Anyone else know whats going on with my program?
-Thanks for reading.
-Nick
lol thanks for the reply but I cant use anything I havent learnt yet. my teacher told me to try deviding the end resuly by 100.00, I get the correct answer and the decemals are in the right place...
Can anyone help me with getting this program to display the total price correctly. It is displaying like this 144 but I want to to display this 14.40.
Thanks for reading.
-Nick
#include...
I changed the variables that would use float to float but nothing happened, So then I changed them all to float and its still not working. This is very strange. LOL I am basically done with the...
I am having another probelem now lol. When the program prints the total it prints it like this 140 and I need it to print like this 14.00. It might be the variable types but I have changed them from...
LOL I made a very stupid mistake there. Thank you guys again for helping me. I will let you know how the program turns out.
-Nick
I have finished the math part of the program but not I am faced with another problem :( . When I run the program and try to calculate it all it gives me these numbers and a + sign instead of just...
Thank you guys so much :) you helped a lot. I owe you all one.
The spelling errors were a rush job sorry. The int was accidentally left there when i was doing a little trial and error with the...
sorry if this comment is a bit dumb. Wouldnt you need the "if" function to do that tho?
Thx for the reply tho.
I am making a program that calculates the price of apples (its a school one). To throw in a twist they made it so when you buy one apple you get one free. I am not aloud to use the "if" feature in...