C++ Programming: From Problem Analysis to Program Design
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN: 9781337102087
Author: D. S. Malik
Publisher: Cengage Learning
Bartleby Related Questions Icon

Related questions

bartleby

Concept explainers

Question

6- Please I want answer of this question by typing. Many Thanks

 

  1. Bank Muscat sends the monthly transaction report to all its customers through email. When the customer opens the file send by the bank, the customer is required to enter a valid customer ID Number. The ID Number is a six character long ending with 2 uppercase letters.

 

Examples of valid customer ID Numbers: 5678XY

                                                                          2343WA

                                                                          8987HL

Write a Pseudocode and Draw Flowchart that will:

  • Ask the customer to enter a valid ID Number
  • if customer input is “E”, allow the customer to quit the program
  • if the ID Number is too short, then tell the customer to renter
  • if the last two characters do not follow the rules, then tell the customer
  • allow the customer to keep entering customer ID Number.
Expert Solution
Check Mark
Blurred answer
Knowledge Booster
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • program Credit Card Validator - Takes in a credit card number from a common credit card vendor (Visa, MasterCard, American Express, Discover) and validates it to make sure that it is a valid number (look into how credit cards use a checksum). - this is the c++. please use #include <iostream>
    : Download the Flowgorithm file HometownPartial.fprg and complete the program for Hometown Bank. The program determines a monthly checking account fee. Input includes an account balance and the number of times the account was overdrawn. The output is the fee, which is 1 percent of the balance plus 5 dollars for each time the account was overdrawn. The program will ask the user to enter the account balance and the number of times the account was overdrawn, calculates the fee, and then displays the fee to the user. Save the completed flowchart as HometownComplete.fprg.
    Python question please include all steps and screenshot of code. Also please provide a docstring, and comments through the code, and test the given examples below. Thanks. Write function season() that takes as input the number of a month (1-12) and returnsthe season corresponding to the month, as a string. You may assume that numbers 1 to 3correspond to Winter, 4 to 6 correspond to Spring, 7 to 9 correspond to Summer, and 10to 12 correspond to Fall. If anything other than the integers 1 through 12 are entered theprogram should print the message ‘This is not a valid entrée’. Use a dictionary andexception handling.>>> season(3)'Winter'>>> season(11)'Fall'>>> season(0)This is not a valid entrée
  • C++ Please Create a simple program that asks user to enter their name and displays the name with an asterisk between the name. Not before or after the name.  For example: L*i*n*d*a
    Hi, c++ help   Please see my code The code reads two numbers from a file and creates a dice which must be played a certain amount of times (dertimined by input file).    The code must then output the results of the multiple dice rolls.      For line 1 **the numbers in brackets are the results of the multiple dice roll while the last number is the sum of the throws for the first die  As you can see for the first line everything adds up correctly as the results of the dice (in brackets) are summed up correctly (last number)  For the second row and all other following rolls, the code adds the rolls of the new dice and the result of the previous sum to get the new sum.  This should not happen, I want the sum of each rows to be displayed on the end of each line   The correct code should be display **please don't output comment  [2] - [4 ]-[5] - 11    //dice rolled 3 times and sum is 11 [1] - [1 ]-2   //dice rolled 2 times with sum 2
    Please draw the correct flowchart for this game ? # Function to display question and answer def new_game():     guesses = []     Right_guesses = 0     question_num = 1     num = 1     for key in questions:         print("\n------------------------- \n")         print("Question " + str(num) + "\n" )         num += 1         print(key)         for i in options[question_num-1]:             print(i)         guess = input("\nAnswer (A, B, C, or D): ")         guess = guess.upper()         guesses.append(guess)         Right_guesses += check_answer(questions.get(key), guess)         question_num += 1     display_score(Right_guesses, guesses) # ------------------------- # Function to check answer def check_answer(answer, guess):     if answer == guess:         print("\nYour Answer Correct!")         return 1     else:         print("\nYour Answer Wrong!")         return 0 # ------------------------- # Function to display score def display_score(Right_guesses, guesses):…
  • modify the provided C++ code below and add this: PROVIDE PSEUDOCODE, MANUAL COMPUTATION, FLOWCHART PLS THANKS! make a simple banking system. assume that the bank has three (3) tellers that take turns in serving the customers. Each customer should have at least the following parameters: Account Number, Account Name, Transaction Type (Withdraw, Deposit), Transaction Amount (in Php), and Average Transaction Time (in minutes). The program should ask first the number of customers to serve, then asks the details for each customer. Input at least 10 customer details. The program should output the transaction log of the 3 tellers. Each transaction log entry should contain the customer's account number, account name, the amount withdrawn/deposited, and the remaining account balance. Note: Each customer account must have an initial balance of Php 10,000.00. C++ code: #include <iostream>#include <cstdlib>#include <ctime> class student_queue {public:    struct node {        int…
    C++ PLEASE only answer with FLOWCHART AND PSEUDO CODE! Thank you :) C++ DRAW FLOWCHART AND WRITE PSEUDO CODE   4. User asks you to develop a program to calculate and print weekly payroll. Calculations must take into account the following: User input ? a. Income tax rate is rate is 15% (.15*salary) b. Social Security tax is 7.65% (.0765*salary) c. Display salary, income tax, social security tax, and net pay net pay=salary-income tax – social security tax
    Python question please include all steps and screenshot of code. Also please provide a docstring, and comments throughout the code, and test the given examples below. Thanks. Write a function named lottery() that takes an integer n as input and that can be used togenerate 6 lottery numbers in the range from 1 to 60 without replacement. Each number,selected uniformly at random without replacement from the range 1 through 60, shouldbe printed after pressing the Enter/Return key. The program should terminate after the 6thnumber has been printed.>>> lottery(60)27105828602
    • SEE MORE QUESTIONS
    Recommended textbooks for you
  • C++ Programming: From Problem Analysis to Program...
    Computer Science
    ISBN:9781337102087
    Author:D. S. Malik
    Publisher:Cengage Learning
    Programming Logic & Design Comprehensive
    Computer Science
    ISBN:9781337669405
    Author:FARRELL
    Publisher:Cengage
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
  • EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
    Programming with Microsoft Visual Basic 2017
    Computer Science
    ISBN:9781337102124
    Author:Diane Zak
    Publisher:Cengage Learning
  • C++ Programming: From Problem Analysis to Program...
    Computer Science
    ISBN:9781337102087
    Author:D. S. Malik
    Publisher:Cengage Learning
    Programming Logic & Design Comprehensive
    Computer Science
    ISBN:9781337669405
    Author:FARRELL
    Publisher:Cengage
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
    EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
    Programming with Microsoft Visual Basic 2017
    Computer Science
    ISBN:9781337102124
    Author:Diane Zak
    Publisher:Cengage Learning