write a javascript to input your name,age, address in separate line
Answers
Answered by
0
Answer:
public class Program
{
public static void main(String[] args)
{
String name, Address;
int age;
Scanner input = new Scanner(System.in);
System.out.println("Enter your name: ");
name = input.nextLine();
System.out.println();
System.out.println("Enter your age");
age = input.nextLine();
System.out.println();
System.out.println("Enter your Address: ");
Address = input.nextLine();
System.out.println();
System.out.println("Your name is: " + name);
System.outprintln("Your age is: " + age);
System.out.println("Your Address is:" +Address);
}
}
Answered by
0
class pro
{
public static void main (String name, int age , String address)
{
System.out.println(“ Your name is ” + name);
System.out.println(“ Your age is ”);
System.out.println(“ Your address is ” + address);
}
}
NOTE - You can write your name and address only in alphabetical format not in numeral format
AASAN BHASHA ME TUM ADDRESS OR NAME ME KOI NUMBER NAHI DAAL SAKTE OK
AAB MUJHE BRAINLIEST MARK KARO PLS KARO NA PLS
ACCHE SE PHADNA :D
{
public static void main (String name, int age , String address)
{
System.out.println(“ Your name is ” + name);
System.out.println(“ Your age is ”);
System.out.println(“ Your address is ” + address);
}
}
NOTE - You can write your name and address only in alphabetical format not in numeral format
AASAN BHASHA ME TUM ADDRESS OR NAME ME KOI NUMBER NAHI DAAL SAKTE OK
AAB MUJHE BRAINLIEST MARK KARO PLS KARO NA PLS
ACCHE SE PHADNA :D
Similar questions