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:
its A. the answer to your question is preserved. :)
Answer:
D. Aptitude is a person’s potential to learn new skills.
Explanation:
A. Aptitudes are ability, and skills are the potential.
B. Aptitudes can be learned or trained, unlike skills.
C. Aptitude is the level of skill that a person has gained.
D. Aptitude is a person’s potential to learn new skills.
Out of the above four, the A and B part is wrong and the rest of the options are right. Skills are the ability and aptitude is the potential, and the aptitude is the level of skill which person has gained, as well as Aptitude, is the Person's potential to learn new skills. However, D is adequate, and C can be derived out of it, as if someone has potential, the better level of skills he/she will gain. Hence, D is the correct option.
Solution :
x = float_(input())
y = float_(input())
z = float_(input())
res1 = x**z
res2 = x**(y**z)
res3 = abs(x-y)
res4 = (x**z)**0.5
print('{:.2f} {:.2f} {:.2f} {:.2f}'.format(res1,res2,res3,res4))
Output is :
5.0
1.5
3.2
172.47 361.66 3.50 13.13