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:
Welding, carpentry, masonry, construction worker, barber
Explanation:
Answer:
ΔQ = 4930.37 BTu
Explanation:
given data
height h = 8ft
Δt = 8 hours
length L = 24 feet
R value = 16.2 hr⋅°F⋅ft² /Btu
inside temperature t1 = 68°F
outside temperature t2 = 16°F
to find out
number of Btu conducted
solution
we get here number of Btu conducted by this expression that s
......................1
here A is area that is = h × L = 8 × 24 = 1492 ft²
put here value we get
solve it we get
ΔQ = 4930.37 BTu