Find Jobs
Hire Freelancers

C++ easy coding

$20-25 USD

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 19 χρόνια πριν

$20-25 USD

Πληρωμή κατά την παράδοση
**The task **Yan Chan, the owner of “Yan’s Perfect Parts?? has decided to introduce a computer assisted system of handling orders for his bicycle spare parts business. The orders are phoned to him each day from mechanics and service stations in the Nanjing area. Yan has a small van with which he delivers all the parts ordered the previous day. The volume of orders is increasing and as Yan guarantees a “next day?? service, he needs to streamline his ordering system so that he can continue to offer the reliable service his customers have come to expect. You have been commissioned to analyse and develop a solution in C++ to keep track of the quantities of each item ordered and to calculate the income generated by the day’s orders. ## Deliverables Detailed description of program requirements 1 The orders are to be entered at a terminal by Item Code. These codes correspond to bicycle parts in Yan’s warehouse and are in the range 6500-9800 inclusive. If an item code of 9999 is entered the day’s summary report is to be produced and the program terminated. 2 The inventory of parts in Yan’s warehouse is to be stored by means of an array. When an item is ordered and entered at the terminal the program is to search this data for the requested item and print an appropriate message if it is not found. 3 When the requested item is found the program is to print the item’s make and description. Eg Jin Cheng ??" Brake Pad. And then allow the operator to enter the quantity to be ordered. The quantity values cannot be negative and would be whole numbers. The number must not exceed the number of that item in stock. Prior order quantities must be taken into account when considering stock on hand. 4 If the order quantity is invalid then it is to be requested again as a check against mistyping. If it is still invalid respond with an appropriate error message and then terminate that order and commence the order entry for another item. 5 When the order quantity is accepted, confirm the order by printing the total RMB value of the order and commence another order entry process for another item. 6 When a 9999 item number is entered it indicates the orders for the day have finished. The program is then to produce a report containing all items (Parts) which have been ordered that day showing their details plus the RMB value and quantity of the item ordered. 7 At the bottom of the report show the overall RMB total of all items ordered, a total count of all items on the report. 8) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 9) comments within the code to determine why you used this form of coding 10) A menu at the begginning of the code so you can enter options and go to the specific functions 11) neat and tidy format 12)Reports are on-screen only and should be able to be paged through i.e. you will have to work out how many records fit on a screen. Note your program will **not save** any additions, deletions etc, they will be lost upon exit from the program. 13) You are to develop a program in C++ to implement the above. Parts records are to consist of: Item Code, Make of bike, Price each, Start of day quantity, Description. The records are to implemented as structures and held in an array. You will be given a file parts.h which contains the code for this. The file is to be included at the top of your program using a #include “parts.h?? statement. YOU MUST USE THIS FILE. Pay close attention to the contents of this file and DO NOT modify the structures or variables in it. Once this is included you do not need to declare the structures or array in your program. To do so would be a _mistake_ since you would then either be re-declaring them or using something different. The purpose of this is to allow easy testing of the programs submitted. 14) Sample parts.h file const SIZE = 10; struct ParType { long code; char make[20]; float cost; int num; char description[20]; }; ParType PartsDB[SIZE]= { {6656, "Jin Cheng", 53.5, 2, "Grip"}, {6870, "Continental Dove", 99.5, 10, "Handlebar"}, {7321, "Jin Cheng", 67, 5, "Brake Caliper"}, {9800, "Continental Dove", 101.5, 12,"Wheel"}, {6578, "Jin Cheng", 86, 15, "Seat"}}; ## Platform it needs to run in turbo 4.5 ...
Ταυτότητα εργασίας: 3349006

Σχετικά με την εργασία

18 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 20 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
See private message.
$7 USD σε 3 ημέρες
5,0 (3 αξιολογήσεις)
0,6
0,6
18 freelancers δίνουν μια μέση προσφορά $15 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$21,25 USD σε 3 ημέρες
5,0 (51 αξιολογήσεις)
5,3
5,3
Avatar Χρήστη
See private message.
$17 USD σε 3 ημέρες
5,0 (47 αξιολογήσεις)
4,6
4,6
Avatar Χρήστη
See private message.
$15,30 USD σε 3 ημέρες
5,0 (126 αξιολογήσεις)
4,7
4,7
Avatar Χρήστη
See private message.
$10,20 USD σε 3 ημέρες
4,9 (17 αξιολογήσεις)
4,3
4,3
Avatar Χρήστη
See private message.
$17 USD σε 3 ημέρες
5,0 (37 αξιολογήσεις)
3,0
3,0
Avatar Χρήστη
See private message.
$17 USD σε 3 ημέρες
5,0 (28 αξιολογήσεις)
3,0
3,0
Avatar Χρήστη
See private message.
$17 USD σε 3 ημέρες
5,0 (3 αξιολογήσεις)
2,9
2,9
Avatar Χρήστη
See private message.
$21,25 USD σε 3 ημέρες
4,8 (11 αξιολογήσεις)
2,9
2,9
Avatar Χρήστη
See private message.
$3,40 USD σε 3 ημέρες
4,8 (29 αξιολογήσεις)
2,8
2,8
Avatar Χρήστη
See private message.
$8,50 USD σε 3 ημέρες
5,0 (5 αξιολογήσεις)
1,5
1,5
Avatar Χρήστη
See private message.
$10,20 USD σε 3 ημέρες
5,0 (2 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$12,75 USD σε 3 ημέρες
2,0 (1 αξιολόγηση)
0,5
0,5
Avatar Χρήστη
See private message.
$21,25 USD σε 3 ημέρες
5,0 (2 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$12,75 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$21,25 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,4
0,4
Avatar Χρήστη
See private message.
$17 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$17 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της AUSTRALIA
Australia
0,5
1
Μέλος από Σεπ 14, 2004

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.