Answer:
grade = input("Enter grade")
def add(grade):
if grade == 9:
print("Not in High School Freshman")
elif grade == 10:
print("In High School")
print("somophone")
elif grade == 11:
print("in High School")
print("Junior")
elif grade == 12:
print("in High School")
print("Senior")
else:
print("Grade Not Accepted:")
return 0;
add(11)
Output:
Enter grade 11
in High School
Junior
Process finished with exit code 0
Explanation:
Firstly remember that this is a function, and not a program. Hence, you need to call the function to test it. A python program is interpreted line by line, Hence, we can test a function as well. Here we input a grade, and through the function find the details related to it and the print it out, which is clearly explained through the definition of the function.
Answer:
The program in C is as follows:
#include <stdio.h>
int main(){
int n;
scanf("%d", &n);
if(n<11 || n>100){
printf("Input must be between 11 - 100"); }
else{
while(n%11 != 0){
printf("%d ", n);
n--; }
printf("%d ", n); }
return 0;
}
Explanation:
The existing template can not be used. So, I design the program from scratch.
This declares the number n, as integer
int n;
This gets input for n
scanf("%d", &n);
This checks if input is within range (11 - 100, inclusive)
if(n<11 || n>100){
The following prompt is printed if the number is out of range
printf("Input must be between 11 - 100"); }
else{
If input is within range, the countdown is printed
while(n%11 != 0){ ----This checks if the digits are identical using modulus 11
Print the digit
printf("%d ", n);
Decrement by 1
n--; }
This prints the last expected output
printf("%d ", n); }
Answer:
We dont have the movie-
Explanation:
Maybe just look at ur notes
Wait what? is that really a question orr
The answer is
false
Windows Server 2003 was an upgrade from windows 2000 and
contained various new features like several hundred new group policies and the
ability to run 64-bit Itanium processors. With the introduction to Windows Server
2003, Microsoft took to the direction of tighter security.
Most Windows Server 2003
features and services had to be set up manually unlike the previous versions of
OS where many functions were set up by default.