wap in java to store the age and name of 20 students in a class and display their name and age
Answers
Answered by
0
Answer:
n = input("Enter name of student: ")
c = int(input("Enter class of student: "))
a = int(input("Enter age of student: "))
print("Name:", n, "Class:", c, "Age:", a)
print()
print()
print("Name:", n)
print("Class:", c)
print("Age:", a)
Similar questions