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

  What is the scrambling techniques

What is the result of scrambling the sequence 11100000000000 using one of the following scrambling techniques? Assume that the last non-zero signal level.

  Develop functional decomposition diagram to show functions

Develop a high-level use case to represent the application as a whole. Develop a functional decomposition diagram to show all of the functions that the system or application will support.

  Show the schematic symbol for an s-hit data bus

Describe the advantages of the three-state gate over the open-collector gate is hen the application entails multiple sources on a data bus.

  Determine the size of such an application

Complete a function point worksheet to determine the size of such an application. You will need to make some assumptions about the application's interfaces and the various factors that affect its complexity.

  Create a lan for a very successful cpa firm

You have been asked to design a LAN for a very successful CPA firm with five departments in one building and a total of 560 employees.recently , the firm has no networked computers, and it is open to any suggestions your team can offer.

  Write a program that computes the cost of painting carpet

Write a program that computes the cost of painting and installing carpet in a room. Assume that the room has one door, two windows, and one bookshelf.

  Define the cost of ownership of the mobile application

Define the cost of ownership of the mobile application. Define the benefits of ownership of the mobile application. Predict the return on investment (ROI) of the mobile application and your suggested alternatives.

  Prepare an 8-10-page report in word this report should

prepare an 8-10-page report in word. this report should include a project history of your recent trillo apparel

  Kind of the collapsible furniture

An inventor has just developed a new kind of the collapsible furniture which will be useful for the students in college dorms where space is limited.

  What is the importance of the program telnet

My co-worker Mark and I both regularly use our mainframe UNIX system. I've fingered him, and know that he's logged on. when I do not want to have a conversation with him, instant messenger with him, or send him an email, I would like to send him a..

  Relation schema about teaching classes

Suppose you have a relation schema about teaching classes that has the following attributes: Class, Instructor, Time and Room

  Repeat part a for in v shift rows transformation

Repeat Part a for In v Shift Rows transformation. Using results of Parts a and b, prove that the Shift Rows and In v Shift Rows transformations are inverses.

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