Its the desktop version of documents and it uses page layout skills that way its much easier to print out.
Answer:
1. #include <iostream>
2. #include <cmath>
3.
4. using namespace std;
5.
6. int main()
7. {
8. float radius;
9. cout << "Type the radius of the base: "; // Type a number
10. cin >> radius ; // Get user input from the keyboard
11.
12. float height;
13. cout << "Type the height: "; // Type a number and press enter
14. cin >> height; // Get user input from the keyboard
15.
16. float volumeCylinder = 3.1416 * radius * radius * height;
17. float cubeSide = std::pow(volumeCylinder, 1/3.);
18. cout<<"Cube side is: "<< cubeSide;
19.
20. return cubeSide;
21. }
Explanation:
- From line 1 to 5 we include two libraries
- From line 6 to 7 we declare our main function
- From line 8 to 11 we ask the user for the radius of the cylinder
- From line 12 to 15 we ask the user for the height of the cylinder
- On line 16 we calculate the volume of the cylinder using the formula V=pi*(r^2)*h
- On line 17 we calculate the side of the cube with the same volume as the cylindrical container using the formula side=∛(V)
- From line 18 to 21 we print and return the value of the cube's side
Answer:
The answer to a given question is "a[n-1-i]".
Explanation:
The expression for the corresponding element is "a[n-1-i]". This expression checks all array elements that are associated with a list. In this expression, An array a[] used n and i variable. Where n is a size of the array elements and i is used for loop and it checks array elements that are associated with the array.
Idk what language so this is java
int count_occurrences(String a, String b) {
int count = 0;
for(int i =0; iif(a.charAt(i) == b.charAt(0)) {
count++;
}
}
return count;
}
An author first comes up with a basic idea, like male or female for example. Then personality traits take place. Character design can be decided before personality traits too, sometimes it helps authors come up with different ideas. Next personal relationships can be included.