Evelop a simple application to store and retrieve data

Assignment Help C/C++ Programming
Reference no: EM131161054

I want to develop a simple application to store and retrieve data. I could call it Shopping list.

Would like to implement the following functionality:

The application will store a list of items. (Use a String array pulled from a text file).

On run, user can select the following options (home screen), and should come back to this home screen after the selected option is completed

Option 1. Display all items in the shopping list. (when selected print all items in the shopping list with item number(which could be array index of the item+1, so first item number 1 instead of zero)

Option 2. The user can add an item. (Prompt user to enter a item name and added it to array and print success message).

Option 3. Delete an item from shopping list .( Print all items as in option 1, and prompt user to enter item number to delete or 0 to cancel, if user enters a value, check the item number exits if so delete and print a confirmation message, else print no item found)

Option 4. The user can search for an item (prompt user to enter item name to search and lookup the array and display message if item exits/does not exists in array). Use the code for search uploaded.

Option 5. exit (save the array with items name to a file before exiting)

Next time the program loads it should load from the file with list of items and load it to the string array.

Attachment:- Assignment.rar

Reference no: EM131161054

Questions Cloud

Provide examples of everett rogers diffusion of innovation : Provide at least two specific examples of Everett Rogers' Diffusion of Innovation Model being used in a health care organization with which you are familiar.
The four major types of promotion strategies : Using the soft-drink industry as an example, define and illustrate each of the four major types of promotion strategies.
What is the critical difference in productivity : What if the marginal product of high school graduates were instead two hammers per hour? What is the critical difference in productivity (in percentage terms) at which the type of worker hired changes?
Driving your own car versus public transportation : List the trade-offs you would consider for each of these decisions: - Driving your own car versus public transportation.- Buying a computer now versus waiting for an improved model.
Evelop a simple application to store and retrieve data : I want to develop a simple application to store and retrieve data. I could call it Shopping list. Would like to implement the following functionality: The application will store a list of items. (Use a String array pulled from a text file)
What happens to the firm''s mrts at given input combination : Suppose that because of a technological breakthrough a firm that uses labor and capital to produce its output is able to double its production for any given amounts of inputs. What happens to the firm's MRTS at any given input combination?
What happens in a state of uniform dilatation : Compute the angle for the principal directions along with the principal values of strain. Develop code to plot the undeformed and deformed square defined in the coordinate system associated with the principal directions (i.e., take the initial squ..
Analysis of how the lost girl considers aboriginal : The critical analysis will focus on the extent to which "THE LOST GIRL" promotes intercultural understanding and ATSI perspectives, and the relevance of the inclusion of these concepts in learning experiences.
Perform present value analysis : a. Given a discount rate of 8 percent (.08), perform present value analysis on the data for St. Lucia.  (Use this formula To find the multipliers for years 1 to 6.) b. What is your recommendation for St. Lucia Foods?.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  How many themes does each of your new relations contain

Does this relation contain a multi-value dependency? If so, what are the unrelated attributes?

  Calculate federal and fica taxes withheld and calculate net

/this program will calculate federal and fica taxes withheld and calculate net pay//for an employee

  Given the following test scores and grade equivalents

Given the following test scores and grade equivalents, write a function which is passed a score, and returns a letter grade based on the score entered. A number less than 0 or greater than 100 is invalid.

  What are the operations done on tupples

What are tuples in c++? What are the operations done on tupples?

  State the purpose of the function

You may be asked to create a function to solve each of the tasks given below. For each task state the purpose of the function, what the function needs complete the task (input), what the function will send back to the function call (output), and t..

  Static field holds total winnings for all horses in stable

static field holds total winnings for all horses in the stable // total winnings are shown after each horse wins,

  Program prompts the user to input the height and the radius

Rearrange the statements so that the program prompts the user to input the height and the radius of the base of a cylinder and outputs the volume and surface area of the cylinder. Format the output to two decimal places.

  Create and work within a separate subdirectory

Create and work within a separate subdirectory. The usual COP 4530 rules apply (see Introduction/Work Rules) - the body consists of a single call to an operation of the underlying container

  Create a c++ project using appropriate data types

Create a C++ project. Declare the following identifiers using appropriate data types.

  Write a program that reads an infix or postfix expression

Write a program that reads an infix or postfix expression from an input file, evaluates the expression and outputs the result.

  Question 1 write a program to print the following patterna

question 1 write a program to print the following patterna 1 b 11 2 2 21 2 3 3 3 31 2 3 4 4 4 4 41 2 3 4 5 5 5 5 5

  Write a set of nested loops that display 10 rows

Write a set of nested loops that display 10 rows of # characters. There should be 15 # characters in each row.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd