Assign names of your five friends to five different variables. Write a program tp print your friends name in different lines
Answers
Answered by
1
Answer:
public class friends
{
public static void main()
{
char a=Arun;
char b=Bhavesh;
char c=Chaitanya;
char d=Devansh;
char e=Rohit;
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
System.out.println(e);
}
}
Similar questions
Math,
16 days ago
Political Science,
16 days ago
Accountancy,
1 month ago
Math,
8 months ago
Psychology,
8 months ago