Write a program using vectors and iterators

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

ASSIGNMENT 1

  • Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles. The user should be able to view all DVD titles in his library, add and delete titles from the library, and exit the program.
  • Your program should offer a menu with choices.
  • After an addition of a title is made, the list is to be SORTED so it is in alphabetical order.
  • The program should loop after each choice and not exit unless a key to exit is pressed.

ASSIGMENT 2

  • Create a program that uses at least two functions that will be called from your main. This program is a number game program that asks for parts of your phone and after manipulating it mathematically, eventually outputs your entire phone number. The directions for the game are:

1- Enter the first 3 digits of your phone number( not area code-user input)

2- Multiply by 80

3- Add 1 to the total

4- Multiplay by 250

5- Add the last 4 digits of your phone number (user input)

6- Add the last 4 digits of your phone number again

7- Substract 250 from total

8- Divide the number by 2

9- Show final results

10- Remember to use cout statements after each math function so the user sees how the "trick" is progressing.

Reference no: EM131518

Questions Cloud

Create a simple shell : Create a simple shell. Basically your shell should read the line from standard input, parse the line with command and arguments, and operate the command with arguments.
Evaluate wcr expense ratios : ABC Company sells widgets in three varieties (red, yellow and blue) but has lost money for the past three years.
Implement the relative addressing mode : Write an optimal sequence of control microinstruction
Difference between the cv and the ev : The change in consumer surplus (?CS) is not "theoretically" justifiable like the CV and EV but it continues to be the most widely used measure of consumer welfare change. Explain how this can be reconciled
Write a program using vectors and iterators : Create a program that uses at least two functions that will be called from your main. This program is a number game program that asks for parts of your phone and after manipulating it mathematically, eventually outputs your entire phone number. The d..
Economic profit in the short run bot : Why does rent control result in a shortage of rental units.
Implement security so that all users can view the informatio : Implement security so that all users can view the information about the projects, but only authenticated users
Evaluate the variation of hoop stresses : Evaluate the variation of hoop stresses across the wall of the compound cylinder.
Determine the npv at time period zero of the cash flows : Recall that this step determines the amount that could be deposited today, to satisfy the education funding need

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

  Iterative programming problem solving approaches

Write a recursive function void reverse ( ) that reverse a sentence

  Loops and if conditions

Write a program that requests a password

  Structured programming using procedural languages

A a program that is called "Playing with Numbers or Letters".

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write a program to read a data file and extract parameters

Write a C/C++ program to read a data file and extract parameters. The program must obtain the filename via a command-line argument.

  Computer programming techniques

Construct a program from a design and use appropriate functions

  Develop a basic temperature class

You have to develop a basic temperature class

  Describe the probability of the moves

Write a program in C++ to describe the Probability of the moves

  C++ programming uml diagrams

The goal of this lab is to better familiarize you with polymorphism and the factory design pattern, two key components in Assignment

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