Write a java program the displays the state bird and flower

Assignment Help Computer Engineering
Reference no: EM132200791

Write a Java program the displays the State bird and flower. You should use your IDE for this exercise.

You should also use Java classes to their full extent to include multiple methods and at least two classes. The program should prompt the user to enter a State and print both the State bird and flower.

The user should be able to enter a State without worrying about case. (e.g. Users could enter Maryland, maryland, MARYLAND or any other possible combination of lower and upper case characters. States may also contain leading and trailing white spaces.

Hint: Store the State information in a multi-dimensional array. The program should continue to prompt the user to enter a state until "None" is entered. After all States have been entered by the user, the program should display a summary of the results. You will need to do some research to find the State birds and flowers. Here is a sample run:

Enter a State or None to exit: Maryland Bird: Baltimore Oriole Flower: Black-eyed Susan Enter a State or None to exit: Delaware Bird: Blue Hen Chicken Flower: Peach Blossom Enter a State or None to exit: None

A summary report for each State, Bird, and Flower is: Maryland, Baltimore Oriole, Black-eyed Susan Delaware, Blue Hen Chicken, Peach Blossom Please visit our site again!

Create a test class that constructs at least 3 States objects. For each of the objects constructed, demonstrate the use of each of the methods. Be sure to use your IDE to accomplish this assignment.

The google recommended Java style guide, provided as link in the week 2 content, should be used to format and document your code. Specifically, the following style guide attributes should be addressed:

Header comments include filename, author, date and brief purpose of the program.

In-line comments used to describe major functionality of the code.

Meaningful variable names and prompts applied.

Class names are written in UpperCamelCase.

Variable names are written in lowerCamelCase.

Constant names are in written in All Capitals.

Braces use K&R style.

Reference no: EM132200791

Questions Cloud

Write a java program that finds prime numbers : Your program first should take a number from the user. Then it should looks for prime numbers between zero and the number user entered.
Examine what the bumper sticker says : We have now ventured in the part of economic theory where we explore why we buy goods and services. We know we respond to prices but we also buy goods.
What is the rotational speed of the disk : 1) What is the rotational speed of the disk? 2) What is the transfer time for one sector?
Measure the usefulness of the words : 1. Why can't we use TF alone to measure the usefulness of the words? 2. What is a caveat of IDF? How does TFIDF address the problem?
Write a java program the displays the state bird and flower : Write a Java program the displays the State bird and flower. You should use your IDE for this exercise.
Write a java program that contains a method : This file can contain any number of integers. Next, the method finds the maximum of these integers and returns it.
What are some technologies included into a web-based : What are some technologies included into a Web-based Training and what are some pros and cons of it.
Define what happens to macroeconomic aggregates : If the Federal Reserve were to target the price level, so that Pt = P, how would money supply change if productivity (At) suddenly decreased temporarily?
How the round robin scheduling algorithm works : Topic 1: Discuss how the round robin scheduling algorithm works.

Reviews

Write a Review

Computer Engineering Questions & Answers

  There are multiple internet browsers available today and

there are multiple internet browsers available today and many people choose which to use without giving it

  What difficulties present themselves

If a computer is capable only of manipulating and storing integers, what difficulties present themselves? How are these difficulties overcome?

  Providing the justification

Joe the janitor is recorded in the company security camera one night taking the pictures with his cell phone of office of CEO after he is done with cleaning. What will you do and provide justification for your actions?

  Data mining and olap compared with oltp systems

Explain the key advantages and benefits of that technology

  How that company uses each of the five core it capabilities

Give an example of a company (nation-wide and well known to other students in the class) and explain how that company uses each of the 5 core IT capabilities.

  Describe your project scope in a few sentences

Describe your project scope in a few sentences and then identify at least five significant varied risks associated with the project.

  Create a chain of 10 processes and prints out their process

Write a C++ program that creates a chain of 10 processes and prints out their process ids and relationships.

  Discuss the issue by giving examples in c pascal and java

Changing the value of a configuration constant requires recompilation. Discuss the issue by giving examples in C, Pascal, Modula-2, Java, C++, or Ada.

  Perform analysis on their responses and compile a usability

Perform analysis on their responses, and compile a usability report. For the limited number of subjects there is little deep statistical analysis possible.

  How bob finds out what cryptographic algorithm alice has use

Explain how Bob finds out what cryptographic algorithms Alice has used when he receives an S/MIME message from her.

  Prepare an is audit plan and report to the management

Perform a web search on recent (in the past 3 years) articles to find an interesting case study, such as news articles in relation to IS risks

  How to add and use a menu control on the form

How to add and use a menu control on the form. Develop a "Grade Report" project, which allows user to create a sequential file or open an existing file, then save test scores in this file.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd