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
Science,
1 month ago
Chemistry,
1 month ago
English,
1 month ago
Accountancy,
2 months ago
Math,
9 months ago
Psychology,
9 months ago