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

And?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.