Design program to enter a series of numbers

Assignment Help Programming Languages
Reference no: EM1364723

Design a program that asks the user to enter a series of 20 numbers. The program should determine whether the number is valid by comparing it to the following list of valid charge account numbers:

5658845 4520125 7895122 8777541 8451277 1302850
8080152 4562555 5552012 5050552 7825877 1250255
1005231 6545231 3852085 7576651 7881200 4581002

These numbers should be stored in an array. Use the sequential search algortithm to locate the number entered by the user. If the number is in the array, the program should display a message indicating the number is valid. If the number is not in the array, the program should display a message indicating the number is invalid.
This assignment gives you a chance to use an array to check the input validity of an account number.

The required components for the assignment:
Software requirements
Algorithm
Hierarchy Chart
Pseudocode

Reference no: EM1364723

Questions Cloud

Explain new contract that dino signed : Explain new contract that Dino signed automatically gave Steamer the right to repossess all the furniture that Dino had previously bought
Design and write payroll program-employee-s hourly pay rate : Design and write a payroll program that will prompt the user to enter an employee's hourly pay rate and the number of hours worked.
Estimate project npv : A proposed nuclear power plant will cost $2.2 billion to build and then will produce cash flows of $300 million a year for fifteen years.
Estimate project npv : A proposed nuclear power plant will cost $2.2 billion to build and then will produce cash flows of $300 million a year for fifteen years.
Design program to enter a series of numbers : Design a program that asks the user to enter a series of 20 numbers. The program should determine whether the number is valid by comparing it to the following list of valid charge account numbers.
Structure of federal income tax : What is the rate structure of the U.S. federal income tax? Analyze the progressive nature of the U.S. tax system and its consequences.
Approaches to analyze market needs : Entrepreneurs use several approaches to analyze market needs, encourage new idea generation, and recognize business opportunities.
Find difference in the effective annual rates : Gomez Electrics requires arranging financing for its expansion program. Bank A offers to lend Gomez the required funds on a loan in which interest must be paid monthly, and the quoted rate is 8 percent
List and describe three guidelines for sound policy : List and describe briefly the three guidelines for sound policy, as stated by Bergeron and Bérubé. Are policies different from standards? In what way? Are policies different from procedures? In what way?

Reviews

Write a Review

 

Programming Languages Questions & Answers

  Write program to reads student-s name together with score

Write a program that reads a student's name together with his or her test score. The program should then compute the average test score for each student.

  Write program to read integers and finds largest of them

Write a program that reads integer, finds the largest of them, and counts its occurrences. Assume thant the input ends with number 0. suppose that you entered 3 5 3 5 5 5 0.

  Explaining graphics as user experience on web sites

Graphics provide significant richness to the user experience on web sites. Discuss how each of these sites uses graphics in good or poor ways.

  Specific changes made for different countries-sites directed

Why were these specific changes made for different countries at whom the sites were directed? Is there anything else you would consider changing.

  Program has function named presentvalue for calculations

Write a program that has a function named presentValue that performs this calculation. The function should accept the future value, annual interest rate, and number of years as arguments.

  Program a robot to run mile-long steeplechase

Program a robot to run mile-long steeplechase where steeples are made from beepers instead of wall segmesnts. the robot must jumb the steeples in this race by picking the beepers that make up the steeples.

  Write class postfixevaluator to evaluate postfix expression

Write a class PostFixEvaluator that evaluates postfix expression such as 6 2 + 5 * 8 4 / -. Program must read a postfix expression consisting of digits and operators into a StringBuffer.

  Creating table-find employee attended meeting on given date

The rows of this table record the fact that an employee from a particular project attended a meeting on the given date.

  Design considerations to comply with ada

Browsing devices that assist people with disabilities, such as an aural browser, are especially dependent on the best use of CSS styles. What design considerations should you be aware to comply with ADA?

  Write a script to declares and sets variable

Write a script that declares and sets a variable thats equal to the total outstanding balance due. If that balance due is greater than $10,000.00.

  Explain drawbacks to using ajax technology

What are some of the other drawbacks to using AJAX technology? Why are some of these very significant items to consider before implementing AJAX on a given website?

  Design a website to allow calculation of areas

Design a website to permit calculation of areas. A radio button list can be used to allow the user select what type of area to be calculated. Once the selection is done, the input text boxes should be displayed with the proper labels.

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