engluna / personclass Goto Github PK
View Code? Open in Web Editor NEWProgram that generates a list of people along w/ their first name, last name, & email. Sorts them out & user is able to find someone specifically.
Program that generates a list of people along w/ their first name, last name, & email. Sorts them out & user is able to find someone specifically.
Ceated a program that generats a list of people along with their first name, last name and their e-mail. It sorts them out to make it easier for the user to view the list of names in alphabetical order. Then implemented a method that would help the user find someone specifically by asking to input their first or last name. If the program finds the person the user is searching for it prints out their information (first, last name and e-mail) Instead of asking the user to input names to populate the list, I tested the program with an array of size 10 that included names. Then asked user to input a name to serach for in the list. ----------------------------Test Results---------------------------------------- luis@ubpc:~/Desktop/Project$ java personDriver List of people -------------- Ball, Orange E-mail: [email protected] Luna, Luis E-mail: [email protected] Cat, Apple E-mail: [email protected] Dog, Pear E-mail: [email protected] Fruit, Mango E-mail: [email protected] Fred, Zebra E-mail: [email protected] Kite, Yoyo E-mail: [email protected] Gaga, Lady E-mail: [email protected] Knowles, Beyonce E-mail: [email protected] Beans, Rice E-mail: [email protected] Luna, Luis E-mail: [email protected] List of people when sorted Ball, Orange E-mail: [email protected] Beans, Rice E-mail: [email protected] Cat, Apple E-mail: [email protected] Dog, Pear E-mail: [email protected] Fred, Zebra E-mail: [email protected] Fruit, Mango E-mail: [email protected] Gaga, Lady E-mail: [email protected] Kite, Yoyo E-mail: [email protected] Knowles, Beyonce E-mail: [email protected] Luna, Luis E-mail: [email protected] Luna, Luis E-mail: [email protected] Input name or last name to search for: Luna The name Luna was found in the list: Luna, Luis E-mail: [email protected] The name Luna was found in the list: Luna, Luis E-mail: [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.