Computer Science, asked by Aishwaryaa77, 9 months ago

Write a program to display name and address side by side.

Answers

Answered by NIHU12345
0

Answer:

PYTHON

Explanation:

Python: Display your details like name, age, address in three different lines

Answered by dhavalfatnani
1

Answer:

import java.util.*;

{

class dname

{

public static void main()

{

String name,address;

Scanner sc=new Scanner(System.in);

name=sc.next();

address=sc.next();

System.out.println(name+/t+address);

}

}

}

Explanation:

I have used Scanner class to call the variable's value initialisation.dname is the class name. name and address are the variables.

Similar questions