Find Jobs
Hire Freelancers

the list program

$10-30 USD

Opravljeno
Objavljeno pred več kot 10 leti

$10-30 USD

Plačilo ob dostavi
List Looking at the program “Salesperson’s list”, create another program that will do the following: 1. Ask user to input 2 different lists of salespersons. 2. Concatenate two lists into one. In order to do that you will have to create second list (define another pointer to the head and another pointer to the current), and write function that will add one list to the other. This function has to redefine pointer of the last element of the first list, so that it will point to the first element of the second list. Print new list in the form of the report. Salesperson’s list include <iostream> # include <string> using namespace std; struct SalesPerson { SalesPerson *next; string name; int level; float comission; float amount; void Print() { [login to view URL](10); cout << name; [login to view URL](20); cout << level; [login to view URL](20); cout << amount; [login to view URL](20); cout << comission << endl << endl; } }; struct SalesPerson* Head = NULL; struct SalesPerson* Current = NULL; void Add(struct SalesPerson); void main() { struct SalesPerson S; char answer[10] = "Yes"; do { cout << "\nEnter sales person name: "; cin >> [login to view URL]; cout << "\nEnter sales amount: "; cin >> [login to view URL]; cout << "\nEnter level of comisiions: "; cin >> [login to view URL]; cout << endl; Add(S); cout << "Do you want to enter another? (Yes/No): "; cin >> answer; } while (strcmp(answer, "No") != 0); [login to view URL](10); cout << "Name"; [login to view URL](20); cout << "Comission level"; [login to view URL](20); cout << "Amount of sales"; [login to view URL](20); cout << "Comission" << endl << endl; for(Current = Head; Current -> next != NULL; Current = Current -> next) Current -> Print(); Current -> Print(); } void Add(struct SalesPerson a) { if (Current == NULL) { Current = new(SalesPerson); Head = Current; Current -> next = NULL; } else { Current -> next = new(SalesPerson); Current = Current -> next; Current -> next = NULL; } Current -> name = [login to view URL]; Current -> level = [login to view URL]; Current -> amount = [login to view URL]; if([login to view URL] == 1) Current -> comission = [login to view URL] * 0.06; else Current -> comission = [login to view URL] * 0.08; }
ID projekta: 5153090

Več o projektu

22 ponudb
Projekt na daljavo
Aktivno pred 10 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
Hello. This assignment looks quite easy for me........................................................
$15 USD v 2 dneh
4,9 (1040 ocen)
7,5
7,5
22 freelancerjev je oddalo ponudbo s povprečno vrednostjo $18 USD za to delo
Avatar uporabnika
Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks
$15 USD v 1 dnevu
5,0 (374 ocen)
7,0
7,0
Avatar uporabnika
Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality. Best regards, Szymszteinsl
$40 USD v 3 dneh
4,9 (63 ocen)
6,7
6,7
Avatar uporabnika
Hi, Lets start right away will complete within 2 hours. Please communicate to discuss further. Thank You
$19 USD v 1 dnevu
4,7 (196 ocen)
6,6
6,6
Avatar uporabnika
Hi, With 10 years of professional programming experience with C++ and various other languages, I can implement your program which asks for 2 lists and then concatenates them. I am ready to begin now! Thanks
$30 USD v 1 dnevu
4,9 (58 ocen)
5,8
5,8
Avatar uporabnika
Hi, I would be happy to help you, I have a master degree in electronics and computer science engineering. I've been programing in c++ for many years, and your work is a piece of cake for me. pm so we can discuss. You won't regret and consider it as done. cheers
$30 USD v 3 dneh
5,0 (18 ocen)
4,9
4,9
Avatar uporabnika
HI, I have a great experience in c++ and data structures. So, you can hire me and you don't spend your money and time for nothing. Yesterday I finished a project, connected with a creating a game. You can ask my employee about the cuality of my work :)
$10 USD v 1 dnevu
4,9 (44 ocen)
5,1
5,1
Avatar uporabnika
A proposal has not yet been provided
$14 USD v 0 dnevu
4,6 (23 ocen)
4,6
4,6
Avatar uporabnika
Hello, sir. I would love to work for you. I have 5 years experience in C/C++ programming language. I can help you do this project. Thank you so much for your attention.
$15 USD v 1 dnevu
5,0 (1 ocena)
1,1
1,1
Avatar uporabnika
Hello, I can provide the code in no time. I love to code in C++, so I put my heart in my job. I hope you choose me. regards, Eloi
$14 USD v 0 dnevu
4,4 (1 ocena)
0,8
0,8
Avatar uporabnika
I can do it easily. I am system level developer in c ,c ++. I have 2+ years of experience in embedded. It is just singly link list program.
$15 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
A proposal has not yet been provided
$10 USD v 5 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
A proposal has not yet been provided
$13 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
A proposal has not yet been provided
$12 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
You are using Linked lists, I I'm very adept in the use of Linked lists in C++. please email me if you have and questions. thank you for your consideration.
$15 USD v 3 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
Hi, I am an experienced C/c++ developer. I have seen your requirement and i am ready to do this project. I will provide you the executable first, you can check it and then need to pay. Please assign me the project. I am ready to start project right now. Thanks!
$12 USD v 0 dnevu
0,0 (0 ocen)
0,6
0,6
Avatar uporabnika
I worked before with something similar and I guarantee that I will complete your task without any flaws.
$25 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
Hi, I have 5 years of c++ programming experience. I am good in algorithms and data structures too. Thanks
$25 USD v 3 dneh
0,0 (0 ocen)
1,0
1,0
Avatar uporabnika
I have solved the problem and i have the program. I can send you the source code if you like. Have a nice day!
$10 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
Hi. I have fifteen years of C++ experience. I could have this done for you quickly. It's just simple manipulation of linked lists. Thanks. Jim
$19 USD v 2 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED STATES
fullerton, United States
4,9
9
Plačilna metoda je verificirana
Član(ica) od okt. 28, 2013

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.