subject

For this assignment you will write a series of three small programs to practice programming in c. your programs must compile and run under xubuntu (or another variant of ubuntu) 18.04. if you follow the video sequence on installing netbeans for c/c++ for xubuntu, you will have this development environment available. for two of these programs, you must start from the attached base les. for the other program, you will be expected to write it from scratch. 1 2.1 computation (hw02a_base. c) [8 points] for this program, you will write a program to compute the total volume for a number of cylinders. a cylinder may have dierent values for height and radius. study the base code and make the following changes: • add a prompt for the number of cylinders to sum. make sure to use the control symbol for integers. [2 points] • create a loop based on the number of cylinders the user enters. [1 points] • within the loop, prompt for height and radius parameters (allow oating point numbers), and calculate the volume for that particular cylinder. [4 points] • display the total volume sum back to the user. make sure to use the right control symbol. [1 points]

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 02:00, kayladgranger
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, Alexaisokay1
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
image
Computers and Technology, 24.06.2019 17:30, KaleahV
List at least one thing to check for when you're checking the clarity and professionalism of a document.
Answers: 1
image
Computers and Technology, 25.06.2019 15:30, keilahkimbrough8
What is the function of a computer screen?
Answers: 1
You know the right answer?
For this assignment you will write a series of three small programs to practice programming in c. yo...

Questions in other subjects: