Answer:
This will work for most languages, but this is mainly for c#. Double check what language your using before putting in this answer.
Console.WriteLine("What grade are you in?");
int grade = Convert.ToInt32(Console.ReadLine());
if (grade == 9)
{
Console.WriteLine("Freshman");
}
if (grade == 10)
{
Console.WriteLine("Sophomore");
}
if (grade == 11)
{
Console.WriteLine("Junior");
}
if (grade == 12)
{
Console.WriteLine("Senior");
}
if (grade < 8)
{
Console.WriteLine("Not in High School");
}
Explanation:
The first line asks what grade are you in, then when the user types in the grade it saves it in a variable. We then use that variable for the conditionals. The conditional states, whatever grade level your in, it prints your high school year title. If anything is lower than 8, it will print not in high school.
Answer:
A: Affects the sequential flow of control by executing different statements based on the value of a Boolean expression
Explanation
because the real definition is Definition. A conditional statement is a statement that can be written in the form “If P then Q,” where P and Q are sentences. For this conditional statement, P is called the hypothesis and Q is called the conclusion. Intuitively, “If P then Q” means that Q must be true whenever P is true. And A, explain that.
For effective communication to occur, everyone must trust and respect each other. ... Clear and concise communication will allow your colleagues to understand and then trust you. As a result, there will be more cooperation and less conflict in the workplace.
Answer:
False
Explanation:
Using subnet mask will be helpful, what the subnet mask does is moving the IP address boundary bettween the part that represents a network and the part that represents a host, thus, instructing the operating system which IP addresses are on the local subnet. Then the operating will communicate directly with the other host without using the router. Once this is achieved, memorizing the IP addresses is needless.