Create a list object of ten elements

Assignment Help Computer Engineering
Reference no: EM132091527

In the main function, create a List object of 10 elements. Display the elements in the list (which will be of course empty to start- has the default value 0).

Then go into a loop that display a menu where you let the user pick an operation to do on the list (one of the functions in part 1: #2 - #7e).

Do the operation, display any results that are appropriate so the tester can see that the operation was done. Include an option to quit when the user wants to.

To get the full points for an operation, your menu must work for that option and not simply have the function listed in the menu or implemented in theory.

For the operations that require another operand such as copy constructor, +, -, ==, create another List object, call readList to let the user fill the second List object with numbers from the user. Then apply the operation and display the result.

Standards: Make sure to pay attention to proper programming style. Check the programming style supplement before beginning on this project.

Reference no: EM132091527

Questions Cloud

Relative to the ocean floor : A wave on the ocean surface with wavelength 44 m travels east at a speed of 18 m/s relative to the ocean floor. If, on this stretch of ocean
What force is required at the edge : Calculate the torque required to produce the acceleration, neglecting frictional torque. What force is required at the edge?
Create an application that has a button that has info : Create an application that has a button that has "Enter your info." When clicked it will present a JDialog that has labels and text boxes.
Construct the truth table and boolean function : Charles Sturt University (CSU) is conducting three sessions every year. The session 1 is from 1st of March to end of June. Session 2
Create a list object of ten elements : Create a List object of 10 elements. Display the elements in the list (which will be of course empty to start- has the default value 0).
Resistivity of the wire impacts the current : Explain how a change in the resistivity of the wire impacts the current. Justify your response.
Methane has a current concentration : Methane has a current concentration of 1.7 ppm in the atmosphere and its doubling at a faster rate than is CO2
What is the time complexity of the best case to insert : If both have n nodes and are sorted smallest to largest, will it be faster to find the smallest value in a sorted linked list or a minimum-level BST?
Validate the email address and return true if valid : Create a new document called l5p3 html. It should have a form with a text input box for an email address and a Submit button.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Design the logic for a program that merges the files

Design the logic for a program that merges the files for summer and winter programs to create a list of the first and last names of all participants.

  Write a program that performs a parallel matrix multiply

Write a program that performs a parallel matrix multiply. Each thread represents a sequential stream of execution, and the operating system provides.

  In what other context have we discussed similar algorithms

The disk-scheduling algorithms examined in this chapter sound familiar. In what other context have we discussed similar algorithms?

  Briefly define the purpose of penetration testing

Briefly define the purpose of penetration testing, as it applies to network security. Define how logging analysis can be used to enhance network security.

  Write a program that swaps the elements of an array pairwise

Write a program that swaps the elements of an array pairwise. Start from the left of the array, take 2 elements at a time and swap the two elements. Continue in this fashion until you reach the end of the array.

  What are race situations difficult to debug

assume the legislature in your state is debating the adoption of UCITA and you have been known as an expert witness. What are the three most important ideas you want your legislators to get from the testimony.

  List the salient technical characteristics of lvds

List the salient technical characteristics of Low Voltage Differential Signaling (LVDS), and the performance benefits which it provides.

  Develop procedures suitable for an simd

Problem for an SIMD with M processing elements where M Problem: The following are common operations.

  Add a method to box named set position that takes a list

Add a method to Box named set Position that takes a list or tuple as a parameter, then makes that input the new position for the box.

  Your company is currently investigating the use of linux

your company is currently investigating the use of linux. your manager has asked you to research the feasibility of

  Define kerberos and name its servers

Define a session key and show how a ICDC can create a session key between Alice and Bob. Define Kerberos and name its servers.

  Explain the two methods which are used to give concurrent

describe the two methods that are used to provide concurrent operations of multiple processes on a single cpu. what are

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