A program that tests the users ability to memorize

Assignment Help C/C++ Programming
Reference no: EM13842181

Grading Information:

Comments are REQUIRED; flow charts and Pseudocode are NOT REQUIRED.

Directions Points

The files must be called .

Example: KenDeweyChapter17.java

Ensure you include ALL files required to make your program compile and run.

I would like to see your .java files only.

Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter.

Follow proper java coding conventions throughout the program.

10%

Basic Requirements

Write a program that tests the user's ability to memorize a sequence of colors. As shown in the sample session, the program starts off by displaying a dialog box with a list of colors that are to be memorized - red, white, yellow, green, and blue. Theuser then enters the colors one at a time in a text box. If the user makes a mistake, the program prints a "Sorry" message. If the user correctly enters all  the colors, the program prints a "Congratulations" message. Note that when the sorry orcongratulations message is printed, the  window's original components get clearedaway.

As always, you are required to write elegant code. In particular, you should avoid hard coding the color values in the interior of your program. You should declare those values one time in an array at the top of the program.

Reference no: EM13842181

Questions Cloud

Prepare a government-wide statement of net assets : Prepare a government-wide statement of net assets.Be sure to show the transportation authority as business-type activity. If the township were to prepare fund statements,how would it report the housing authority's specialrevenue fund?
What is the firms corporate cost of capital : What is the firm's cost of equity estimate according to the DCF method and what is the cost of equity estimate according to the CAPM - What is the firms corporate cost of capital?
Declare a global array solution : Declare a global array Solution
Report both the debt and the golf course in same category : Should the city, in its government-wide statement of net position, report the debt as a governmental activity and the golf course as a business-type activity? Alternatively, should it report both the debt and the golf course in the same category o..
A program that tests the users ability to memorize : a program that tests the user's ability to memorize a sequence of colors
What is the effect of attending a peer nutrition : What is the effect of attending a peer nutrition counseling program on college students' knowledge of healthy food three months later
An application that instantiates five librarybook object : Write an application that instantiates five LibraryBook objects
What is the return for stock d : What is the dollar amount invested in stock B if the beta of the portfolio is 1.2 - The portfolio has a return of 19.8 percent. The return for Stock A is 6.5 percent, for Stock B is 33.2 percent, and for Stock C is 7.2 percent. What is the return f..
Use either the bubble sort or the selection sort algorithms : use either the Bubble Sort or the Selection Sort algorithms

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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