writing JAVA programs

profiled3ran

 

1- Write Java program to print your full name in three lines



2- write Java application to declare variable x and test x then print the color as following: (“Red” if x = 1, “Green” if x = 2, “yellow” if x = 3, “Blue” if x = 4, otherwise print “Error” )



3- Write a program to declare the array myList ={5, 10, 15, 20, 25} and print the summing of  all elements.

    • 6 years ago
    • 3
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      d3ran.rar
    • attachment
      Question2.java
    • attachment
      Question3.java
    • attachment
      Question1.java
    • attachment
      all-questions.docx