subject

Write a program (just a main) that creates a vector of type string to represent a grocery list. let the user put as many items in the grocery list as they would like. then create a menu with the options 1) display grocery list, 2) add item3) remove item and 4)quit. #2 should let the user add another item to the list and #3 should let them remove an item. #1 should display the current list. the list should loop until the user picks 4 to quit. since vectors are so powerful this shouldn't be too hard.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:50
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 23.06.2019 01:50
Free points just awnser this. what should i watch on netflix
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Research data that is presented using descriptive language is said to be
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Refer to the figure and match the theorem that supports the statement.1.if chords are =, then arcs are =.if bc = de, then arc bc = arc de2.if arcs are =, then chords are =.if arc bc = arc de, then bc = de3.diameters perpen
Answers: 3
You know the right answer?
Write a program (just a main) that creates a vector of type string to represent a grocery list. let...
Questions
question
Advanced Placement (AP), 14.02.2021 02:40
question
Chemistry, 14.02.2021 02:40
question
Computers and Technology, 14.02.2021 02:40
question
World Languages, 14.02.2021 02:40