Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Coding in C++ Overview 1. A Cryptocurrency wallet is composed of a user ID (String: UID e.g. A84671, A49583), a USD value ranging from O

Coding in C++

image text in transcribed

Overview 1. A Cryptocurrency wallet is composed of a user ID (String: UID e.g. "A84671", "A49583"), a USD value ranging from O to $10,000 (Int: VALUE), and a small hash number (Int: HASH) which is always 5 digits long. 2. Write a program which creates a linked list of 30 nodes, where each node holds a wallet Generate the inputs randomly (UID can be all ints or a mix or ints and chars), and output the list to a file "walletLinkedList.txt" in the following format: UID HASH VALUE 3. Implement the function "returnMiddle" which prints out the item in the middle of the list and print it to the screen. 4. Finally, implement a function which splits the list in half and outputs the result in a second file "secondFile.txt" in the following format UID HASH VALUE list one UID HASH VALUE ist two

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions