Question: Write a program to allow the user to enter Customer details (CustName, address, email , CustID and WinCust).use one dimensional array. Create java class to
Write a program to allow the user to enter Customer details (CustName, address, email , CustID and WinCust).use one dimensional array.
Create java class to perform the following:
Prompt the user to enter the number of customers
Create the necessary methods to create the arrays and set the values
Create a method to search for a wining customer among the entered ones and do the following :
The customer is a wining customer if his/her name length equals 4 , save the wining customer in WinCust array.
Count and display the number of winning customer.
Create display method to display the details of the wining customers in reverse order.
In the controlling class, create object for the above class , read the input from the keyboard and
display the details as per the output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
