subject

Description A size of a Jumbo candy bar with rectangular shape is: 1 × w × h. Due to the rising costs of coca, the volume of the candy bar is to be reduced by p%. To accom plish this, the management decided to keep the thickness, h, of the candy bar the same, and reduce the length and width by the same amount. For example, if 12, w-7, and h 3, and p 10, then the new dimension of the candy bar is 11.39 x 6.64 x 3. Write a program to accomplish this. All input and output will be of type double except for p which will be of type int. Hint: you may need to use sqrt function, so you will need to have #include <㎝ath> above your int main() along with the other includes. The function sqrt takes in a number and returns it's square root, for example if I have sqrt (2) the function returns the value 1.414.. Specifications To get full credit you program must contain/perform the following Declare variables with meaningful names and correct types Document all your variables Document portions of your code (parts that perform input, output, calculations etc.) Program must compile and run with various inputs

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 23.06.2019 11:00
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
You know the right answer?
Description A size of a Jumbo candy bar with rectangular shape is: 1 × w × h. Due to the rising cost...
Questions
question
Biology, 08.11.2019 22:31
question
Mathematics, 08.11.2019 22:31
question
Mathematics, 08.11.2019 22:31
question
Physics, 08.11.2019 22:31
question
Spanish, 08.11.2019 22:31
Questions on the website: 13722359