<h2>Please wait until more research is discovered...</h2>
Question
A size of a jumbo candy bar with rectangular shape is l x w x h. Due to rising costs of cocoa, the volume of the candy bar is to be reduced by p%.
To accomplish this, the management decided to keep the height of the candy bar the same, and reduce the length and width by the same amount.
For example, if l = 12, w = 7, h = 3, and p = 10, then the new dimension of the candy bar is 11.39 x 6.64 x 3.
Below is an example of how the completed program should work:
Enter the length, width, and height of the candy bar separated by space(s): 12 7 3
Enter the amount of the reduced volume as a percentage: 10
The new dimensions of the candy bar is: 11.38 x 6.64 x 3.00
Format your output with setprecision(2) to ensure the proper number of decimals for testing!
Answer:
- output = ""
- for i in range(7):
- if(i % 3 == 0):
- for i in range(5):
- output+= "*"
- output += "\n"
- else:
- for i in range(2):
- output += "* "
- output += "\n"
-
- print(output)
Explanation:
The solution code is written in Python 3.
Firstly, create a output variable that holds an empty string (Line 1).
Create an outer loop that will loop over 7 times to print seven rows of stars (Line 2). In row 0, 3 and 6 (which are divisible by 3) will accumulate up to 5 stars using an inner loop (Line 4-5) whereas the rest of the row will only print two stars with each start followed by a single space (Line 8-9) using another inner loop.
At last, print the output (Line 12).
Answer:
I will respond by saying the destination is not the most important , the journey is.
Explanation:
Answer:
D. All are true.
Explanation:
All the given statements about CAD are true.
I might join I’m not sure tho is there gonna be a lot of ppl?