Answer:
The Code:
def month(x):
if (x==1):
print ("January")
if (x==2):
print("February")
if (x==3):
print("March")
if (x==4):
print("April")
if (x==5):
print("May")
if (x==6):
print("June")
if (x==7):
print("July")
if (x==8):
print("August")
if(x==9):
print("September")
if(x==10):
print("October")
if(x==11):
print("November")
if(x==12):
print("December")
if(x<1 or x>12):
print("Wrong Input! Try again")
month = int(input("Enter the month number: "))
month(month)
Explanation:
The above program is written in the PYTHON programming language.
In this program, the user inputs the number of any month, showing the month name in the output. For example,
if user enters 1, month name = JANUARY
if user enters 5, month name = MAY
and if the user enters 13, then output = Wrong Input! try again
#SPJ2
Answer: typing keys
Explanation: it’s obvious...
Answer:
function waterPark() {
var age = parseInt(prompt("Enter your Age: "));
var height = parseInt(prompt("Enter your Height (in inches): "));
if ( age >= 14 || height >= 48){
console.log("You can ride in our park");
} else {
console.log("You are not eligible to ride in the park");
}
}
waterPark( );
Explanation:
The Javascript function "waterPark" prompts users for their age and height to check if they are eligible to ride in the park. The prompt is parsed to an integer and assign respectively to the age and height variable.
The if conditional statement compares the age and height of the user to know if they are eligible to ride in the park or not.
Usually back to their start point. Or a random place on the map.
Answer: D. Silver (happy to help)
Explanation: