Computer Science, asked by satwika8700, 9 months ago

Write a java program to print biodata your name
father's name mother's name school name

Answers

Answered by snehitak7
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 deadpool132
7

Answer:

this is right answer please mark me excellent

Similar questions