Answer:
The solution code is given below
- using System;
- using System.Linq;
-
- public class Program
- {
- public static void Main()
- {
- string[] letters = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T","U", "V", "W", "X", "Y", "Z"};
-
- Console.WriteLine("Please input a letter: ");
- string input_letter = Console.ReadLine();
-
- if(letters.Contains(input_letter)){
- Console.WriteLine("OK");
- }else{
- Console.WriteLine("Error. Not uppercase letter.");
- }
- }
- }
Explanation:
Firstly we import the necessary libraries, System and Linq (Line 1-2).
Next we create a string array to hold all uppercase letters (Line 8).
Next, we prompt user to input a letter using the ReadLine() method (Line 10 - 11)
At last, we define if and else conditions to check if the letters contains the input letter. If so, print ok else print an error message. (Line 13-17)
Answer:
b. Discharging; anode; cathode
Explanation:
When discharging , it means the battery is producing a flow electric current, the lithium ions are released from the anode to the cathode which generates the flow of electrons from one side to another. When charging Lithium ions are released by the cathode and received by the anode.
Answer:
a fracture will occur, because the Kc value is greater than the KIC (48.9901 MPa > 40 MPa)
Explanation:
the solution is in the attached Word file
Answer:
The growth rate is the dependent variable and that is option D
Explanation:
Since the study is based on the growth rate of babies which will be dependent on how the babies are fed - bottle fed and breast fed as pointed out in the question. This implies that Growth rate will be the dependent variable since it values will be dependent on the independent variable which are the bottle fed and breast fed, these may be manipulated or altered as the case may be.