Need help with creating a parking program (just text)
i want to make a program where busses takes 2 parking positions, car takes 1 and biker takes 0,5 and if another biker comes it should park besides the other biker so it turns to 1, and the program shouldnt display 0,5's as a parking position so when one biker comes it takes 0,5 but in the program i want it to display 1
11 Replies
as of now my program kinda works but it sometimes buggs by not displaying all the vehicles indexes
Can you provide your code?
BlazeBin - zazyfnyadimk
A tool for sharing your source code with the world!
BlazeBin - aacchtgardgd
A tool for sharing your source code with the world!
Thanks! Can’t look at it cause of mobile data but others will!
thanks appreciate it
❤️
The color variation is on swedish but hope the rest is understandable
If you want we can do a quick talk about it, we can take it in swedish. There is alot you can improve with the code etc
you've shared a lot of code. What exactly is your question?
Would be great
I want the biker to take 0.5 spots but the code to display it takes one parking inateas
And if it is 0.5 somewhere i want the biker to take the spot were it already is one biker
Just give me a call
Perfect
Not home at the moment will be home in about 1 hour