Answer:
The program in Python is as follows:
name = input("Name: ")
major = input("Major: ")
print(name+" is majoring in "+major)
Explanation:
This line prompt user for username
name = input("Name: ")
This line prompt user for major
major = input("Major: ")
This line prints the name and major of the user
print(name+" is majoring in "+major)