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

  Develop a simple program for inventory system

You have to develop a simple program for an inventory system. You can choose any type of business (ie: Medical supplies, bakery, grocery shop, florist etc.)

  Design a class for string field for toppings

Design a class named pizza. Data fields include a string field for toppings (such as pepperoni) and numeric fields for diameter in inches (such as 12) and price (such as 13.99).

  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 program to list all english-math and science teachers

Suppose that input consists of a file of teachers. You are told to write a program to list all English, math, and science teachers. Each teacher can teach only one subject.

  Display policy data after revisions have made

The day is not correct for the month (that is, between 1 and 31 for January, 1 and 29 for February, and so on), then set the month, day, and year to 0. Display the policy data after any revisions have been made.

  Two-level memory cache hierarchy

Explain how you would pipeline the four following pairs of statements.

  Write a program in q basic that accept student name

Write a program in Q basic that accept a student name,score obtained in 5 course and compute the average score of the student and my program must display the name of the student

  Explaining tags used for effective page layout

Page layout is one of the most time consuming tasks for a web designer. What are some of the tags used for effective page layout and how do they work?

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Object-oriented analysis and design

Object-Oriented Analysis and Design,  PART B-object-oriented design involves the steps 13-18:

  Write a program to calculate diameter in centimeters

Write a program to compute the diameter in centimeters of steel rod, aluminum rod, adn copper rod, which can withstand a particular compression load.

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