Write a java program to print biodata your name
father's name mother's name school name
Answers
Answered by
24
Answer:
Explanation:
import java.util.Scanner;
public class Details{
public static void main(String [] args){
Scanner s =new Scanner(system.in);
name=s.nextLine();
fatherName=s.nextline();
motherName=s.nextLine();
schoolName=s.nextLine();
System.out.println("Name : "+name);
System.out.println("Father's Name : "+fatherName);
System.out.println("Mother's Name : "+motherName);
System.out.println("School Name : "+schoolName);
}
}
Answered by
7
Answer:
this is right answer please mark me excellent
Similar questions
Geography,
4 months ago
English,
4 months ago
Hindi,
4 months ago
Social Sciences,
9 months ago
Math,
11 months ago