Menu

[Solved]Language C 1 First Part 30 Points Assume One Customer User Bank Username Admin Password 12 Q37030989

The Language is C

1. First part (30% of the points) Assume that we have only onecustomer or user in the bank who has a username: Admin andpassword: 1234, has to be 4 digits password. Note that the programis completely password protected. If the customer input the rightuser name and password, he/she can do the following:

(a) Cash Deposit

(b) Cash withdrawal

(c) View customer information

(d) Edit customer information

(e) Log out

Note that the customer information are:

(a) Name

(b) Address

(c) Age

(d) Phone number

(e) Balance

(f) Username and password

(g) Account number (10 digit number)

Note that the customer can edit address, phone number, usernameand password. Also, when the customer choose to view his/herinformation, you do not need to show the username and password.

The provided User struct is:

struct user {

char name[50]

char address[50]

int age

double phone num

double balance

char username[50]

int password

double account num };

Help would be much appreciated, having lots of troubleinitializing the user data.

Expert Answer


Answer to The Language is C 1. First part (30% of the points) Assume that we have only one customer or user in the bank who has a … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *