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

  The grid is populated randomly

Initially, the grid is populated randomly with occupied and empty cells. Once the initial grid has been created, the program loops. Each iteration of the loop represents a tick or time step in the environment.

  Write a program for find greatest common divisor

Write code for a recursive implementation of Euclid's algorithm

  Calculate the commission owing for record

Construct an algorithm that will read a record on the file, calculate the commission owing for that record, and print the retail price, commission and employee number.

  Write a program that computes the cost of long distance call

Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules.

  Calculates the total ticket sales after each game

The first line indicates that the ticket price is $250 and that 5750 tickets were sold at that price. Output the number of tickets sold and the total sale amount. Format your output with two deciamal places.

  How much a person needs to pay for their service

Write a program that outputs how much a person needs to pay for their service. The program does not calculate the answer correctly and outputs all three packages even though only one package is inputed

  A constructor and a destructor

A constructor and a destructor, Insert a new element chosen by the user at the correct place in the list

  Write a function that accepts an integer parameter

Write a function that accepts an integer parameter and returns its integer square root. The function should throw an exception if it is passed an integer that is not a perfect square. Demonstrate the function with a suitable driver program

  Assessment system of a university

Write a program for Assessment system of a University

  Gcd between two positive integer numbers

Write a C++ code for calculating the GCD (Greatest Common Divisor) between two positive integer numbers. You  should  use Euclid's  original  subtraction  based  GCD algorithm ( not  using  modulo operator). You should write a function following t..

  Write two functions to be called by the main program

CSC250 Assignment. Write two functions to be called by the main program. One function is to calculate, in general, a truck's range, that is, the distance the truck can go on one tank of gas (we should probably say fuel. since the bigrig might use ..

  Think about the logic and design

Your goal is to solve the following programming lab activity. Write a program that prompts and accepts a number between 1 and 12. After getting the input, display the number with the appropriate month (e.g., "This is the 1st month...January, This ..

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