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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started