Answer:
class TriangleNumbers
{
public static void main (String[] args)
{
for (int number = 1; number <= 10; ++number) {
int sum = 1;
System.out.print("1");
for (int summed = 2; summed <= number; ++summed) {
sum += summed;
System.out.print(" + " + Integer.toString(summed));
}
System.out.print(" = " + Integer.toString(sum) + '\n');
}
}
}
Explanation:
We need to run the code for each of the 10 lines. Each time we sum numbers from 1 to n. We start with 1, then add numbers from 2 to n (and print the operation). At the end, we always print the equals sign, the sum and a newline character.
Answer:
1. Can you tell me something about yourself?
2. What are you weaknesses?
3. If you would describe yourself in one word?
Explanation: Those questions above 1, 2, and 3 are not harmful to ask your client. Bit the last two 4 and 5 are very harmful, because you don't need to be all up in they business and you don't want to put a lot of pressure on your client.
Hope this helps☝️☝☝
Answer:
the pressure at a closed valve attached to the tank 10 ft above its bottom is 37.88 psi
Explanation:
Given that;
depth 1 = 71 ft
depth 2 = 10 ft
pressure p = 17 psi = 2448 lb/ft²
depth h = 71 ft - 10 ft = 61 ft
we know that;
p = P_air + yh
where y is the specific weight of ethyl alcohol ( 49.3 lb/ft³ )
so we substitute;
p = 2448 + ( 49.3 × 61 )
= 2448 + 3007.3
= 5455.3 lb/ft³
= 37.88 psi
Therefore, the pressure at a closed valve attached to the tank 10 ft above its bottom is 37.88 psi
Answer:
From the main bearings, the oil passes through feed-holes into drilled passages in the crankshaft and on to the big-end bearings of the connecting rod.