tried that an got an error i'm seriously not understanding and i don't see any c examples of error proofing which is really sad
#include <stdio.h>
#include <conio.h>
#include <windows.h>...
Type: Posts; User: zangetsu
tried that an got an error i'm seriously not understanding and i don't see any c examples of error proofing which is really sad
#include <stdio.h>
#include <conio.h>
#include <windows.h>...
k most if not all of my input are integers so most of my number inputs crash when i put an char instead of a number i put a default after my last case break but it didn't fix the menu problem
...
my program is basically finished now i jus need some error checking in there but don't know how i tried the isalpha thing for my menu its below scanf for choice but it doesn't work
#include...
Thx its done an it works i just need two more functions now anybody have any ideas of what i could add to this apart from allocating or keeping track of parking space cause that sounds hella...
when i run some tests on your code i took out year month and day and it didnt work i actually got the same number that i use to get from my previous code.lol the 58.75
this is what i modified with...
Thanks for taking the time out to show me an example of what u were talking about i'll try and emulate the tax part into my program but i'm not going to put in the year, month and day part cause i...
Hey Tater thx for try with me eve nthough most of the time i have no idea what your talking about but at number 5. why would i do that could u pls explain that part
i think so are u saying that since i only want 30mins and a hour i should take out the 30 to 59 part? is that what your saying cause im not too understanding your non-sentences
it doesn't matter what i put in, i'm always getting the same answer. BAsically 30 minutes should be $50 +tax for a car and it should be $100 for every hour
its like this, car and truck are suppose to have different prices and tax is the added on Government tax onto the fare. So its the fare plus tax. so for 0 to 30 mins its bout $50 for car, and 30...
Thanks for neating up the code i tried different stuff with the tax part but it just aint working for me
i keep getting the same results every time if i choose truck or car with any amount of time but truck's result is different from car's
#include <stdio.h>
#include <stdlib.h>
#include...
First of all thx for the quick response since the deadline is drawing much closer and if u could look at my older post i did try the if else an while if else set up and it didnt work at all
i changed it to a do while in the tax function section but now its running both of the do whiles, please help
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>...
This is getting real mind boggling now cause i try different things and i get different outputs but its always the same and its not printing that second to last printf can u tell me a better way to...
in my program i think its something with the while part cause maybe i haven't have it done something for that statement , i probably sound confusing like with a if statement if i say
if(that =...
I DO!?... Where!? lmao like seriously i dont think we're on the same page can u explain it to mi a little better please? cause im not understanding what it is exactly what your saying?
Because this is an assessment the teacher is definately not going to take the time out to be calculating seconds to input i need something extremely user friendly not even i would take the time out...
i fixed that part but its not calculating the final price properly
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
Thx didnt even realise that i carried over minutes_max , hours_max and vehicle and it runs now but it crashes when i input the last variable for the main() part of the program
#include <stdio.h>...
Tried it and it still doesnt work
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
yes i did but now the program is skipping the tax function and i tried to use pointer but im getting a hell of a lotta errors and not understanding them
#include <stdio.h>
#include <stdlib.h>...
When i run my program it skips the Tax function in my code and i change int main to int void an it still isnt working plz help, i put "void Tax():" in the global section an it skipped it also
...
i revised cause im trying to make it take off an hour from it its really confusing my brain
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
Thx i tried it an it works but the problem im trying to fix is that when minutes in > minutes out it gives mi a negative number in the end like "1 hour:-5 minutes"
#include <stdio.h>
#include...