Find Jobs
Hire Freelancers

display on the screen a histogram

$30-100 USD

Κλειστή
Αναρτήθηκε πάνω από 22 χρόνια πριν

$30-100 USD

Πληρωμή κατά την παράδοση
Your task is to design an algorithm and write a C++ program to displa on the screen a histogram(or bar chart) that could be used to chart the results of this assignment! Your program should: 1. Accept from the keyboard the course number (eg COIT11133). Accept from the keyboard a series of integers in the range 1 to 40 and count how many of each value are entered. That is record how many 1's, how many 2's, how many 3's etc. Any value greater than 40 should be listed in a separate error line, and not included in the histogram. A value of 0 or less should terminate the series. [login to view URL] a histogram conforming exactly to the format below, including your ID and full name (hard-coded), the course number entered by the user, the erroneous entries, and the drawing of axes and labelling of the axes. The following histogram is the result of entering the following sequence of numbers: for example: 13 13 13 13 13 13 13 13 13 13 13 13 14 14 14 14 12 12 12 12 12 12 12 48 21 17 15 17 25 26 28 27 26 29 27 29 29 27 27 26 30 31 32 30 33 33 32 30 31 32 35 37 36 35 34 38 38 39 38 37 36 35 39 38 42 42 32 32 33 33 40 0 This data should result in the following output: for example Program Author: Q12345678 Kim Smith Course: COIT11133 Erroneous entries: 48 42 42 10 + M# # C | MM M O | MM M U | M --+----+----+----+----+ 10 20 30 40 V A L U E [login to view URL] a value has a count of more than 10, the complete column of 10 M's is displayed, but the top M is to be replaced with a # symbol to signify that the column extends beyond the top of the diagram. Method: [login to view URL] will need to accumulate the counts for each number into an array. [login to view URL] are a variety of algorithms that can be used; however, it is strongly recommended to declare a two-dimensional array to represent the output page, and then build each of the components (x-axis, y-axis, numeric labels on axes, titles for axes and the bars of the histogram itself) into it in turn. [login to view URL] testing, you are strongly advised to test each function individually, and to initially test and debug by entering small quantities of data from the keyboard. In order to obtain full marks: (a) check for invalid (but integer numeric) data from the user; and (b)allow the user to repeat the process any number of times. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. ## Deadline information asap
Ταυτότητα εργασίας: 2828427

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

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

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

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

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
19 freelancers δίνουν μια μέση προσφορά $48 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$25,50 USD σε 14 ημέρες
5,0 (112 αξιολογήσεις)
7,3
7,3
Avatar Χρήστη
See private message.
$51 USD σε 14 ημέρες
5,0 (41 αξιολογήσεις)
6,1
6,1
Avatar Χρήστη
See private message.
$25,50 USD σε 14 ημέρες
5,0 (80 αξιολογήσεις)
5,2
5,2
Avatar Χρήστη
See private message.
$59,50 USD σε 14 ημέρες
4,9 (69 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
See private message.
$38,25 USD σε 14 ημέρες
4,5 (33 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
See private message.
$25,50 USD σε 14 ημέρες
5,0 (26 αξιολογήσεις)
3,8
3,8
Avatar Χρήστη
See private message.
$85 USD σε 14 ημέρες
5,0 (7 αξιολογήσεις)
3,4
3,4
Avatar Χρήστη
See private message.
$63,75 USD σε 14 ημέρες
4,8 (16 αξιολογήσεις)
3,1
3,1
Avatar Χρήστη
See private message.
$59,50 USD σε 14 ημέρες
5,0 (7 αξιολογήσεις)
2,6
2,6
Avatar Χρήστη
See private message.
$34 USD σε 14 ημέρες
5,0 (10 αξιολογήσεις)
2,6
2,6
Avatar Χρήστη
See private message.
$51 USD σε 14 ημέρες
1,7 (5 αξιολογήσεις)
2,9
2,9
Avatar Χρήστη
See private message.
$42,50 USD σε 14 ημέρες
5,0 (5 αξιολογήσεις)
1,8
1,8
Avatar Χρήστη
See private message.
$42,50 USD σε 14 ημέρες
4,9 (4 αξιολογήσεις)
1,3
1,3
Avatar Χρήστη
See private message.
$42,50 USD σε 14 ημέρες
4,0 (1 αξιολόγηση)
0,7
0,7
Avatar Χρήστη
See private message.
$51 USD σε 14 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$54,40 USD σε 14 ημέρες
0,0 (0 αξιολογήσεις)
0,8
0,8
Avatar Χρήστη
See private message.
$25,50 USD σε 14 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$42,50 USD σε 14 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$63,75 USD σε 14 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$63,75 USD σε 14 ημέρες
0,0 (1 αξιολόγηση)
0,0
0,0

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

Σημαία της AUSTRALIA
Australia
0,5
1
Μέλος από Οκτ 3, 2001

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

Ευχαριστούμε! Σου έχουμε στείλει ένα 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.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.