Hello!I'm new in this business(c learning ),for a month or so.I'm trying to learn C and so far i think i'm doing well.I have a friend who's helping me and giving me tips...the last time i meat with him he gave me a task:i have a garage with 3 floors(1,2 and 3),each floor has 100 parking spaces.One hour of parking costs 5$.the problem is that i have to write manual a file.txt in which i have 4 columns:the floor nr.,how much time a car stays(ex:3h),the start time(ex:12:00)and the leaving time(15:00).After this i have to read from file in order to be able to know at any time how much cash i've earnd and how many parking spaces i have free on each floor.(only the cars who have left are paying).I onestly have no ideea on how to start or how to make the code..so if there is someone who could help...i would be very thankful.
catalin4 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.