Write a program that performs keyboard input data

Assignment Help Computer Engineering
Reference no: EM132196153

Write a C++ program.

General requirements

1. Use of type char * string (dynamic through new, or static char [N]), we recommend the use of string functions from the library <string.h>

2. Dynamic data structure (list) created by students on their own.

Describe the structure of the name znak, containing the following fields:

• surname, first name;

• Zodiac sign;

• date of birth (an array of three numbers).

Write a program that performs the following actions:

• keyboard input data into an array consisting of a maximum of 12 znak type elements, and the ability to make the interrupt input, so you can not enter all 12 elements; after the end of the input array to sort by date of birth elements;

• output to the console information about the person whose name is entered from the keyboard;

• If this is not, display an appropriate message;

• implement a second version of the program, instead of an array to use the doubly linked list; add elements so as to preserve the ordering of the list by date of birth (to insert a new element after the element that is less than the new element and the front of a large element).

Reference no: EM132196153

Questions Cloud

What does it mean to differentiate a service : What does it mean to differentiate a service? How can you use it to increase target market interest?
Write a function named squareall that has 2 args : Write a function named squareAll that has 2 args: the first arg is an array of doubles and the second arg is an unsigned that is the number of elements .
Summarize the sources that you have gathered to support : The purpose of the annotated bibliography is to summarize the sources that you have gathered to support your research proposal project.
Describe ways that technology and social media have changed : Identify the three findings and describe ways that technology and social media have changed the roles of managers since Mintzberg's 1960 study.
Write a program that performs keyboard input data : Implement a second version of the program, instead of an array to use the doubly linked list; add elements so as to preserve the ordering.
How can a strategic plan be firm yet flexible : How can a strategic plan be firm yet flexible? What does it need to include?
Revise the introduction and literature review : In this assignment, you will revise the introduction and literature review that you wrote for the Unit IV assignment. Revisions must be substantive.
What kind of performance standards hospitals : What kind of performance standards hospitals and fire stations need to guide its work force?
Estimate how many miles the user has exercise : Write a C++ program that will help ESTIMATE how many miles the user has exercised. We will allow the user to calculate their distance.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Give some suggestions for resolving those issues

define some of the issues surrounding widespread access to some of the multiple health knowledge sources available on the internet.

  Design a decoder that produces five outputs

When the 68000 executes a write operation to an odd byte, it asserts LDS* and places data on D00 - D07. What happens to D08 - D15 during this operation and why?

  Why must a clone of a file set be in the same disk partition

Tokens can expire in DFS. Does this require synchronized clocks using DFS? Why must a clone of a file set be in the same disk partition?

  Write one program and display the results at the same time

Write one program and display the results at the same time. You must use the Debian version of the UNIX operating system.

  What classes would you define in implementing the projects

What classes would you define in implementing the following projects? What methods would your classes possess?

  Design four unique systems design diagrams from your class

Design four unique systems design diagrams from your class project for peer review. Include an old design and new design using class and architecture diagrams.

  Create an interactive gui program

The program computes the expected revenue for each type of mural when interior murals cost $500 each and exterior murals cost $750 each.

  Make a data structure that holds a persons address

make a data structure that holds a persons address. think about the different data elements of an an address and model them in a C data structure. One element that I am having a question on is how can I specify the state with only 2 characters?

  The hard drive will the original query take

suppose (somewhat artificially) that RAM can hold 200 rows and devotes half of that to reading one table and half to reading the other table and has "other places" to store the subquery/query results.

  Write a program that reads in a series of lines

The integer value on the first line can be read with scanf(), but all of the following lines can only be read with getchar().

  What is the time complexity for pushing an element

If we amortize this, what is the time complexity for pushing an element in the back of the array? What about the front of the array?

  Why some companies do not pay sufficient

Reasons why some companies do not pay sufficient attention to staff induction

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