Answer:
Engineers are a very beneficial contribution in which offers great solutions to national problems.
Answer: It means "Do it yourself".
Explanation: You're welcome!
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:
15625 moles of methane is present in this gas deposit
Explanation:
As we know,
PV = nRT
P = Pressure = 230 psia = 1585.79 kPA
V = Volume = 980 cuft = 27750.5 Liters
n = number of moles
R = ideal gas constant = 8.315
T = Temperature = 150°F = 338.706 Kelvin
Substituting the given values, we get -
1585.79 kPA * 27750.5 Liters = n * 8.315 * 338.706 Kelvin
n = (1585.79*27750.5)/(8.315 * 338.706) = 15625