Assign names of your five friends to five different variables. Write a program tp print your friends name in different lines

Assign names of your five friends to five different variables. Write a program tp print your friends name in different lines

About the author
Kaylee

1 thought on “Assign names of your five friends to five different variables. Write a program tp print your friends name in different lines”

  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);

    }

    }

    Reply

Leave a Comment