Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Any help on this would be great.. I have absoulety no idea where to start. This is specifically for only C programming. (Not C++). Thank

Any help on this would be great.. I have absoulety no idea where to start. This is specifically for only C programming. (Not C++). Thank you in advance!!

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

7 Apple iphone-6s gray 64 799.99 15.54 5 Apple iphone-6splus silver 128 899.00 18.33 4 Apple iphone-7 black 32 899.99 18.75 5 Apple iphone-7plus silver 128 999.99 29.04 3 Samsung Galaxy-s7 silver 32 799.99 24.99 4 Samsung Galaxy-s8 black 64 849.99 36.99 10 LG G5 Black 32 599.99 9.99 7

This is what the text file we are supposed to upload looks like. I have absoulety no idea what to do.

The purpose of this project is to create, view, update and delete a database using linked lists and FILE I/O operations Consider a mobile store where different brands of mobiles are sold. The details of the mobiles present in the store are given in the "in txt file which is present along with this document. put You are required to perform the following operations: 1) Load the mobile database Read and store all the data from the input txt file to dynamic memory. 2) View all mobiles data After loading the database, print all the mobile details from the input text file. Without loading the database, you cannot view the mobiles info. 3) Add a new mobile Add a new mobile with its specifications and make sure it is saved. In order to check this, repeat the view all mobiles' option and see if the new mobile is added to the existing database. 4) Free database This function will clear all the information from the database and ends the program Before writing the main function, create a MobileStore Structure as shown below. typedef struct Mobilestore char brand [50 char model 1501; char color [50] int memory; float price; float emi int stock; struct Mobile Store next 1 mobile Create the below functions and follow the guidelines to complete the project. int main Call the getMenuoption0 function to print available options. Provide a switch statement to call the appropriate function with the selected choice. If invalid choice is selected, an error message should be displayed char getMenuoption0 Display the menu options (check the sample output for the menu). Read the option selected by the user and return it to the main function

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

2

Answered: 1 week ago

Question

Mention the bases on which consumer market can be segmented.

Answered: 1 week ago

Question

Explain consumer behaviour.

Answered: 1 week ago

Question

Explain the factors influencing consumer behaviour.

Answered: 1 week ago