search it and you will get on internet
Answer:
Use GitHub or stackoverflow for this answer
Explanation:
It helps with programming a lot
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:
1. Measure the temperature of the boxes and leave them unconnected.
2. Norton reduces his circuit down to a single resistance in parallel with a constant current source. A real-life Norton equivalent circuit would be continuously wasting power (as heat) as the current source dumps energy into the resistor, even when externally unconnected, while a Thevenin equivalent circuit would sit there doing nothing.
3. The Norton equivalent box would get warm and eventually run out of power. The Thevenin equivalent box would stay at ambient temperature.