Write a Java Program that prints the details of a student in the following format:-
Name :
Class :
Hobbies:
let nam = prompt()
let clas = prompt()
let hobbies = prompt()
console.log("Name: " + nam);
console.log("Class: " + clas);
console.log("Hobbies: " + hobbies);
Comments
Leave a comment