Find Jobs
Hire Freelancers

display on the screen a histogram

$30-100 USD

Cerrado
Publicado hace más de 22 años

$30-100 USD

Pagado a la entrega
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
ID del proyecto: 2828427

Información sobre el proyecto

19 propuestas
Proyecto remoto
Activo hace 22 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
19 freelancers están ofertando un promedio de $48 USD por este trabajo
Avatar del usuario
See private message.
$25,50 USD en 14 días
5,0 (112 comentarios)
7,3
7,3
Avatar del usuario
See private message.
$51 USD en 14 días
5,0 (41 comentarios)
6,1
6,1
Avatar del usuario
See private message.
$25,50 USD en 14 días
5,0 (80 comentarios)
5,2
5,2
Avatar del usuario
See private message.
$59,50 USD en 14 días
4,9 (69 comentarios)
4,2
4,2
Avatar del usuario
See private message.
$38,25 USD en 14 días
4,5 (33 comentarios)
4,2
4,2
Avatar del usuario
See private message.
$25,50 USD en 14 días
5,0 (26 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$85 USD en 14 días
5,0 (7 comentarios)
3,4
3,4
Avatar del usuario
See private message.
$63,75 USD en 14 días
4,8 (16 comentarios)
3,1
3,1
Avatar del usuario
See private message.
$59,50 USD en 14 días
5,0 (7 comentarios)
2,6
2,6
Avatar del usuario
See private message.
$34 USD en 14 días
5,0 (10 comentarios)
2,6
2,6
Avatar del usuario
See private message.
$51 USD en 14 días
1,7 (5 comentarios)
2,9
2,9
Avatar del usuario
See private message.
$42,50 USD en 14 días
5,0 (5 comentarios)
1,8
1,8
Avatar del usuario
See private message.
$42,50 USD en 14 días
4,9 (4 comentarios)
1,3
1,3
Avatar del usuario
See private message.
$42,50 USD en 14 días
4,0 (1 comentario)
0,7
0,7
Avatar del usuario
See private message.
$51 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$54,40 USD en 14 días
0,0 (0 comentarios)
0,8
0,8
Avatar del usuario
See private message.
$25,50 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$42,50 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$63,75 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$63,75 USD en 14 días
0,0 (1 comentario)
0,0
0,0

Sobre este cliente

Bandera de AUSTRALIA
Australia
0,5
1
Miembro desde oct 3, 2001

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.