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

  Write the code

Write a program that allows an instructor to keep a grade book. Each students has scores for exams, homework assignments, and quizzes.

  Write two short c programs and solve exam-style problem

Write two short C programs and solve four exam-style problems.

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

  Show the deatils of an emplyoee - c programming

Show the deatils of an emplyoee in a neat format.

  Design a nested program

How many levels of nesting are there in this design?

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Time conversion

Write a C++ program that takes an Eastern standard time in hours, minutes, and seconds,and prints it out in Central time, Mountain time, or Pacific time.

  Structured programming using procedural languages

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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Implement the guess the word

Implement  the ‘Guess the Word' game in an object-oriented manner

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

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