![subject](/tpl/images/cats/User.png)
Engineering, 28.02.2020 05:19 puppylove899
Write a program to display a histogram based on a number entered by the user. A histogram is a graphical representation of a number (in our case, using the asterisk character). On the same line after displaying the histogram, display the number. The entire program will repeat until the user enters zero or a negative number. Before the program ends, display "Bye...".The program will ask the user to enter a non-zero positive number. Using a while loop, validate that the number is not greater than 40, and if so, re-ask for the number. Put the entire program into a sentinel-controlled loop so that the user can enter either zero (0) or a negative number to end the program. Create constants for 1 (the minimum number for the histogram), and 40 (the maximum number for the histogram), and use these constants in the prompts, the validation condition and error message, and the sentinel-controlled loop and the histogram loop.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Engineering
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 19:10
What is a monomer? how do they form a ploymer from the view point of chemical bonding?
Answers: 1
![question](/tpl/images/cats/User.png)
Engineering, 06.07.2019 03:20
Write a technical essay (maximum two pages) about stress concentration. and paste from the textbook. instead, read updated material about this phenomenon and provide a technical evaluation of the different techniques to avoid/reduce such phenomenon. consider in your analysis cutting-edge computational techniques such as fea to study and analyze stress concentrations.
Answers: 2
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/User.png)
Engineering, 06.07.2019 05:10
Asteam turbine is supplied with steam at 28bar and 425c. a fraction of the steam is extracted at 1.2bar to heat the feed water in one open feed water heater. the rest of the steam expands in the low pressure stage of the turbine to 0.08bar. a)-sketch the regenerative rankine cycle with open feed water heater on the t-s diagram. b)-assuming isentropic expansion in both stages of the turbine, find the cycle efficiency. do not assume negligible pump work.
Answers: 1
You know the right answer?
Write a program to display a histogram based on a number entered by the user. A histogram is a graph...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 04.02.2021 17:50
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 04.02.2021 17:50
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 04.02.2021 17:50
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 04.02.2021 17:50
![question](/tpl/images/cats/mat.png)
Mathematics, 04.02.2021 17:50
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 04.02.2021 17:50
![question](/tpl/images/cats/himiya.png)
Chemistry, 04.02.2021 17:50
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 04.02.2021 17:50
![question](/tpl/images/cats/mat.png)
Mathematics, 04.02.2021 17:50
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 04.02.2021 17:50
![question](/tpl/images/cats/health.png)
Health, 04.02.2021 17:50
![question](/tpl/images/cats/mat.png)
Mathematics, 04.02.2021 17:50