Create program that asks user to enter series of numbers

Assignment Help Programming Languages
Reference no: EM1367301

Create 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.

Reference no: EM1367301

Questions Cloud

Underwater optical communication system : An Underwater Optical Communication System and implementing Reed-Solomon Channel Coding
Theory in nursing curriculum : How helpful is theory in nursing curriculum? What is nursing practice and what is nursing education?
At what other angles is constructive interference heard : Two sound sources driven in phase by the equal amplifier are d = 4 m apart on the y axis. At a point a very large distance from the y axis, constructive interference is first heard at an angle θ1 = 0.140 rad with the x axis.
Potential health problems through case-studies : The diagnosing, care and treatment of human responses to actual and/or potential health problems through case-studies, research studies and findings.
Create program that asks user to enter series of numbers : Create a program which asks the user to enter a series of 20 numbers. The program must determine whether number is valid by comparing it to following list of valid charge account numbers:
Determine the dollar price of the cars : The United State imports Japanese cars with a domestic price of 5,000,000 yen and the yen or dollar exchange rate is 120 on January 1, 2003.
Activity based teaching strategies : Describe how you could incorporate some activity based teaching strategies into a traditional classroom or clinical setting.
Create list of major steps to follow to get input : Create a list of major steps to follow to get input, process, and output desired information (software requirements). Refine the list to include individual refined steps (algorithm).
Preferred stock valuation : Authorized and available shares Aspin Company charter authorizes issuance of 2,000,000 shares of common stock. Currently, 1,400,000 shares are outstanding and 100,000 shares are being held as treasury stock.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to simulate bank transaction

Write a program to simulate a bank transaction. There are two bank accounts: checking and savings. First, ask for the initial balances of the bank accounts.

  Write modular program to enter integers for sorting

Write a modular program that performs the following functions: Allows the user to enter 10 integers for sorting, Allows the user to select one of the two types of sorting techniques.

  Display total amount owed in fixed-point notation

Enter your C++ instructions into a source file named Introductory11.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the total amount owed in fixed-point notation with two decimal places.

  Write program to clear the screen and locate the cursor

Write a program that clears the screen, locates the cursor near the middle of the screen, prompts the user for two integers, adds the integers.

  Program for saving account balance report

Savings account balance report from customer savings account file. Every input savings account record contains account number, balance forward, deposits (sum of all deposits).

  Program to help gymnasium help desk associate

Write a program that helps a gymnasium help desk associate to answer questions about membership cost. The rates are as follows.

  Create a menu type form that gives user to select subforms

Create a menu type form that provides the user the capability to select one of the following two subforms. Means of selection is programmers choice.

  Write shell script to read from keyboard-display on monitor

Write shell script called poject.21 to read from keyboard and display on monitor first name, last name and age if the age is less than 50.

  Find out probability at any given time user transmitting

Assume there are 20 users. Determine probability that at any given time, exactly n users are transmitting simultaneously. Determine the probability that there are 11 or more users transmitting simultaneously.

  Card generator program by linked list

Address Book-Card Generator Program Using a Linked List. This program will have names and addresses saved in a linked list. In addition, a birthday and anniversary date will be saved with each record.

  Implement class to simulate growth of roach population

Implement a class RoachPopulationthat simulates the growth of a roach population. The constructor takes the size of the initial roach population.

  Explaining box properties available in css

Browse the Web and choose a site that could benefit from box properties available in CSS. Make a screen capture of the page and indicate how you would change border and spacing properties.

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