0% found this document useful (0 votes)
2 views

Java Lec-19 Assignments On Array.c65d104

The document outlines assignments for a Java Programming course prepared by Atul Kabra. It includes tasks such as finding the greatest and smallest numbers in an array, counting occurrences of a number, determining even and odd numbers, and checking if two arrays are equal. The assignments are designed to enhance students' understanding of arrays in Java.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Java Lec-19 Assignments On Array.c65d104

The document outlines assignments for a Java Programming course prepared by Atul Kabra. It includes tasks such as finding the greatest and smallest numbers in an array, counting occurrences of a number, determining even and odd numbers, and checking if two arrays are equal. The assignments are designed to enhance students' understanding of arrays in Java.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Course: Java Programming, Prepared By: Atul Kabra, 9422279260

Java Lecture-19 Assignments on Array


1) Write a program to read 10 numbers and then find out the
greatest among them.

2) Write a program to read 10 numbers and then find out the


smallest among them.

Course: Java Programming, Info Planet Programming Classes Prepared By: Atul Kabra, 9422279260
Course: Java Programming, Prepared By: Atul Kabra, 9422279260

3) Write a program to find occurrences of a number in the


array.

4) Write a program to read 10 numbers in an array and then


find out
a. How many of them are even numbers.
b. How many of them are odd numbers.

Course: Java Programming, Info Planet Programming Classes Prepared By: Atul Kabra, 9422279260
Course: Java Programming, Prepared By: Atul Kabra, 9422279260

5) Write a program to find out two arrays are equal or not.


When both array contains same values at same position
then it called as “Arrays are equals”.

Course: Java Programming, Info Planet Programming Classes Prepared By: Atul Kabra, 9422279260

You might also like