Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A. OBJECTIVES -Review how to deal with selection structure: if, if..else, or switch -How to manage menu by using do .. while loop -Write the

A. OBJECTIVES -Review how to deal with selection structure: if, if..else, or switch -How to manage menu by using do .. while loop -Write the code for the data type class: data member, constructors, mutator methods, accessor methods, methd toString and other methods to calculate results -How to declare an object and how to use object to access the members of class.

image text in transcribed

image text in transcribed

image text in transcribed

UML Draw UML of a data type class is the step to think what you need to define as data members and what methods you need to define to handle tasks on data members to provide the results that help for the program

-data members could be: name (String), card number (String), SS number (String), phone number (String), address (String), username (String), password (String), credit line (double $2000) available credit (double, start with credit line amount), current balance (double), minimum balance (double), interest rate (double) -no argument constructor, parameter constructor -method to calculate and display message of task 1 to task 6

REQUIREMENTSTATEMENT THIS DESIGN IS NOT COMPLETELY THE SAME THE REAL CREDIT CARD SERVICE THEREFORE, SOME TASKS DO NOT EXACT AS THE REAL CREDIT CARD SERVICES JIST MAKE IT SIMPLE AT YOUR LEVEL TO APPLY WHAT YOU ALREADY LEARNED EACH TIME YOU RUN THE APPLICATION: JUST TAKE CARE ONLY ONE ACCOUNT Create an application for the Credlt Card service that allow users can do the following tasks: CREDIT CARD BERVICE MENU 1. Open now crodit card 2, One transaction 3. Printtatement 4-Paymant 5. Cot Avallablo crodit anount 6. Got Interest zato After finishing one task, redisplay the menu to allow users to select other tasks until they want to Each credit card account will hold the following information: name (String), card number (String), SS number (String), phone number (String), address (String), username (String), password (String), credit line ( available credit (double, start with credit line amount), current balance (double), minimum balance ( interest rate (double) double $200o) double), Also, the credit card account will provide the information for all the tasks listed on the menu TASK 1: Open new credit card -Ask users to enter the information: the new credit card account display the message: name, Ss numbers, phone number, address, username, password to create Credit Card is available tor you Name: Card numbor: Credit Line: Available Credit: Current Balance: Interest Rate: Minimum payment amount Due: 2438371220124047 2000.0 2000.0 0.0 16.99% 0.0 . Where the credit card number is a numeric string with 16 digits that is combined from 4 random 4-digit rs (to learn how to generate a random numbers read the topic GENERATE RANDOM NUMBERS from the Learn From Questions on eCampus Available credit is $2000 that is assigned for each beginning account Interest rate is currently setto 16.99% . * TASK 2: One transaction REQUIREMENTSTATEMENT THIS DESIGN IS NOT COMPLETELY THE SAME THE REAL CREDIT CARD SERVICE THEREFORE, SOME TASKS DO NOT EXACT AS THE REAL CREDIT CARD SERVICES JIST MAKE IT SIMPLE AT YOUR LEVEL TO APPLY WHAT YOU ALREADY LEARNED EACH TIME YOU RUN THE APPLICATION: JUST TAKE CARE ONLY ONE ACCOUNT Create an application for the Credlt Card service that allow users can do the following tasks: CREDIT CARD BERVICE MENU 1. Open now crodit card 2, One transaction 3. Printtatement 4-Paymant 5. Cot Avallablo crodit anount 6. Got Interest zato After finishing one task, redisplay the menu to allow users to select other tasks until they want to Each credit card account will hold the following information: name (String), card number (String), SS number (String), phone number (String), address (String), username (String), password (String), credit line ( available credit (double, start with credit line amount), current balance (double), minimum balance ( interest rate (double) double $200o) double), Also, the credit card account will provide the information for all the tasks listed on the menu TASK 1: Open new credit card -Ask users to enter the information: the new credit card account display the message: name, Ss numbers, phone number, address, username, password to create Credit Card is available tor you Name: Card numbor: Credit Line: Available Credit: Current Balance: Interest Rate: Minimum payment amount Due: 2438371220124047 2000.0 2000.0 0.0 16.99% 0.0 . Where the credit card number is a numeric string with 16 digits that is combined from 4 random 4-digit rs (to learn how to generate a random numbers read the topic GENERATE RANDOM NUMBERS from the Learn From Questions on eCampus Available credit is $2000 that is assigned for each beginning account Interest rate is currently setto 16.99% . * TASK 2: One transaction

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Icdt 88 2nd International Conference On Database Theory Bruges Belgium August 31 September 2 1988 Proceedings Lncs 326

Authors: Marc Gyssens ,Jan Paredaens ,Dirk Van Gucht

1st Edition

3540501711, 978-3540501718

Students also viewed these Databases questions

Question

The photos show the assignment. This is about Graph Traversals

Answered: 1 week ago

Question

demonstrate the importance of induction training.

Answered: 1 week ago