-1

Part 2 Deliverables
Present a solution using pseudocode similar to that in part 1 .

    Identify the logic needed to capture a credit card payment where the user provides their account number, expiration date, and CVV code from the back of the card.



Part 2 Deliverables
Present a solution using pseudocode similar to that in part 1 .
    Identify the logic needed to capture a credit card payment where the user provides their account number, expiration date, and CVV code from the back of the card.
    Declare all variables and their data types
    Information captured should be printed on the screen.


Create variable customername as double
Create variable customer card number as double
Create variable expirationdate as double
Create variable CVV code as doubled
Customer name =  get customerName from user
Account number = get number from user
Expiration date = get expiration date from user 
CVV code = get CVV code from user
Customers name = = customersname display customers name
Customers account number = = customers account number display account number
Customers CVV code = = customers CVV code display customers CVV code
Expiration date = = expiration date display expiration date
Capture customers name account number CVV code expiration date display captured customer name account number CVV code expiration date
Information displayed end program




Part 2 Deliverables
Present a solution using pseudocode similar to that in part 1 .
    Identify the logic needed to capture a credit card payment where the user provides their account number, expiration date, and CVV code from the back of the card.
    Declare all variables and their data types
    Information captured should be printed on the screen.


Create variable customername as double
Create variable customer card number as double
Create variable expirationdate as double
Create variable CVV code as doubled
Customer name =  get customerName from user
Account number = get number from user
Expiration date = get expiration date from user 
CVV code = get CVV code from user
Customers name = = customersname display customers name
Customers account number = = customers account number display account number
Customers CVV code = = customers CVV code display customers CVV code
Expiration date = = expiration date display expiration date
Capture customers name account number CVV code expiration date display captured customer name account number CVV code expiration date
Information displayed end program



Declare all variables and their data types
Information captured should be printed on the screen.

Create variable customername as double
Create variable customer card number as double
Create variable expirationdate as double
Create variable CVV code as doubled
Customer name = get customerName from user
Account number = get number from user
Expiration date = get expiration date from user
CVV code = get CVV code from user
Customers name = = customersname display customers name
Customers account number = = customers account number display account number
Customers CVV code = = customers CVV code display customers CVV code
Expiration date = = expiration date display expiration date
Capture customers name account number CVV code expiration date display captured customer name account number CVV code expiration date
Information displayed end program

2
Contributors
1
Reply
14
Views
2 Years
Discussion Span
Last Post by ddanbe
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.