Answer:
- using System;
- public class Program
- {
- public static void Main()
- {
- Console.WriteLine("Enter number of students: ");
- int num = Convert.ToInt32(Console.ReadLine());
- string [] firstName = new string[num];
- string [] lastName = new string[num];
-
- for(int i=0 ; i < num; i++){
- Console.WriteLine("Enter first name: ");
- firstName[i] = Console.ReadLine();
-
- Console.WriteLine("Enter last name: ");
- lastName[i] = Console.ReadLine();
- }
-
- for(int j=0; j < num; j++){
- Console.WriteLine(lastName[j] + "," + firstName[j]);
- }
- }
- }
Explanation:
Firstly, prompt user to enter number of student to be stored (Line 6- 7). Next, create two array, firstName and lastName with num size (Line 8-9).
Create a for-loop to repeat for num times and prompt user to enter first name and last name and then store them in the firstName and lastName array, respectively (Line 11 - 17).
Create another for loop to traverse through the lastName and firstName array and display the last name and first name by following the format given in the question (Line 19 - 21).
Answer:
The problem is that the pumps would consume more energy than the generators would produce.
Explanation:
Water has a potential energy associated with the height it is at. The higher it is, the higher the potential energy. When water flows down into the turbines that energy is converted to kinetic energy and then into electricity.
A pump uses electricity to add energy to the water to send it to a higher potential energy state.
Ideally no net energy woul be hgenerate or lost, because the generators would release the potential energy and pumps would store it again in the water. However the systems are not ideal, everything has an efficiency and losses. The losses would accumulate and the generator would be generating less energy than the pumps consume, so that system wastes energy.
What should be done is closing the floodgates to keep the water up in the dam at night producing only the power that is needed and releasing more water during the day.
Answer:
nah none of those i would get a tesla, mclaren, corvette, or even a toyota camery or tundra!
Explanation:
my dads is really big into cars and stuuf so i learn a little lol! hope it helps! thanks for the points by the way!
Answer:
3
Explanation:
Bending stress = 117 MPa
Yield stress = 354 MPa
Factor of safety is defined as the ratio of yield stress to the allowable stress (tensile, compressive or bending) of a given material

So, factor of safety is almost equal to 3.