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:
<u>Syntax of function in the Python Programming Language.</u>
def function_name():
'''body of the function or code'''
#calling of the function
function_name()
Note: In Python Programming Language, Indentation is sensitive if you not focus on the indentation then, you program occurs an indentation error.
Explanation:
In Python Programming language, we can use the "def" keyword to define a function then we write the name of the function and then use parentheses for the argument list. "#" is used for the single-line comment and " ''' ''' " is used for the multiple line comment.
A function is the part or module of the program which provides users the feature of reusability of that code anywhere only by calling them.
Answer:
text with a hyperlink to the video website
Explanation:
documents do not auto-upload thumbnails or embedded videos for playback, so external links are pasted there
Yes, it is possible to move a worksheet to open another workbook but not to copy it there. Explanation: Microsoft Excel is a powerful tool for organizing work or business-related things etc.
1. If in MS Access, Click on Query design, select the required Table.
In Field select required field, in this case Select [Name of Plants]. Click on Order and set it as Ascending / Descending.
2. If you want to write a Query that it will look like this
SELECT MedicinalPlants.Name of the plantsFROM MedicinalPlantsORDER BY MedicinalPlants.Name of the Plants;
Read more on Brainly.com - brainly.com/question/3433328#readmore