Question: The programming language is C programming. Please avoid using cout and cin instead use printf and scanf. Thanks in advance car.txt file shows variety of

 The programming language is C programming. Please avoid using cout and

The programming language is C programming. Please avoid using cout and cin instead use printf and scanf. Thanks in advance

car.txt file shows variety of car maker, model, color and price. Design a program that read car maker, model, color and price from car.txt. List down the price options of for user to select from. The program will be able to display to the screen of particular car maker, model, color and price based on price range selection. car.txt Toyota Altis Silver Toyota Vios Black Honda Accord Black Honda Civic Silver Nissan Cefiro Black Nissan Sylphy Silver Proton Perdana Black Proton Waia Blue 120000 90000 152000 118000 151000 121000 110000 70000 Output to the screen: Choose your option 1-List car price equal or above RM120,000 2-List car price RM120,000 - RM149,999 3-List car price RM50,000 - RM119,999 4-End Program. ?1 Car price equal or above RM120.000 Toyota Bltis Silver 120000 Honda Accord Black 152000 Nissan Cefiro Black 151000 Nissan Sylphy Silver 121000 2 Car price RM120,000 - RM149,999 Toyota Altis Silver 120000 Nissan Sylphy Silver 121000 3 Car price RM50,000 - RM119,999 Toyota Vios Black 90000 Honda Civic Silver 118000 Proton Perdana Black 110000 Proton Waja Blue 70000 4 End of Program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!