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:
chronic stoner syndrome
Explanation:
"the universe just sends us messages sometimes mannnn, you just have to be ready to listen to them" lol
Answer:
C. UNDP or World Bank.
Explanation:
Suppose the country of Bangladesh wants a low interest loan to invest in the building of infrastructure. The international organizations which Bangladesh would most likely turn to are UNDP or World Bank.
Answer:
water rise = 22 mm
Explanation:
weight of packet IN AIR = 40 *9.81 =392.4 N
weight of packet IN WATER= 18 *9.81 =176.58 N
by Archimedi's principle
difference in weight = weight of displaced water
w_a - w_w = \rho_w v_d g
392.4 - 176.58 = 1000* v_d* 9.81
v_d = 0.022 m^3
v_d = A*H_rise
0.022 =1*H_rise
H_rise = 0.022 m = 22 mm
water rise = 22 mm