Day 1 Assignment
Day 1 Assignment
Assignment - Day 1
Concept: Java Fundamentals
Guidelines:
Problems:
1. Write a program to list all even numbers less than or equal to the number n.
The value of n is given through command line as input to the program.
2. Create an array of integers by reading values from the user. Display the sum
and average of the integers. Also, display the number of values less than the
average.
3. Write a program that accepts two numbers and a operator like (+,-,*, /) as
command line arguments and perform the appropriate operation indicated by
the operator.
5. A set of 5 words is given. Write a program to reverse each word and arrange
the resulting words in alphabetical order.
Version History:
Version No Author Date Created Reviewed by
1.0 24/06/2016