Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here is my code so far for this project But I want to be able to create a file for a lot of people, not

image text in transcribed

Here is my code so far for this project

But I want to be able to create a file for a lot of people, not just for one (e.g for an enterprise). My teacher said I have to use some data structure (parent and child leaves) but I don't really know how to do that. Can some help me with that, cause right now I'm just creating a record for one person. I want to create a record for many people at the same time.

#include #include int balance,i=-1; int withdraw(int arr[],int bal,int amt)/*for Withdrawal*/ { i=i+1; int j,no,flag=0; if(i==0) { bal=bal-amt; printf("Amount Succesfully Withdrawal. New Account Balance Is:%d",bal); arr[i]=amt; } else { for(j=0;j=amt) { printf(""); } else { bal=bal-amt; printf(" Amount Succesfully Withdrawal. New Account Balance Is:%d",bal); flag=1; break; } } } if(0==flag) { printf(" Daviation is More Than 30 Percent. Amount Can't be Withdrawal."); } return bal;

} int credit(int bal,int amt)/*for credit*/ { bal=bal+amt; printf("Amount Succesfully Credited. New Account Balance Is:%d",bal); return bal; }

int main(void) { long int account; static int balance; int ch,amt; char country[20],name[30],c; int arr[100]; printf(" ENTER THE ACCOUNT NUMBER:"); scanf("%ld",&account); printf(" ENTER THE CUSTOMER NAME:"); scanf("%s",name); printf(" ENTER THE COUNTRY:"); scanf("%s",country); printf(" ENTER THE STARTING ACCOUNT BALANCE:"); scanf("%d",&balance); do { printf(" CREDIT CARD SYSTEM 1.CREDIT 2.WITHDRAW 3.CHECK BALANCE 4.EXIT"); scanf("%d",&ch); switch(ch) { case 1: printf(" Enter Amount to Be CREDITED:"); scanf("%d",&amt); if(amtbalance||amt

return 1; }/*end of main*/

The credit card fraud detection features uses user behavior and location scanning to check for unusual patterns. These patterns include user characteristics such as user spending patterns as well as usual user geographic locations to verify his identity. If any unusual pattern is detected, the system requires re-verification The system analyses user credit card data for various characteristics. These characteristics include user country, usual spending procedures. Based upon previous data of that user the system recognizes unusual patterns in the payment procedure. So now the system may require the user to login again or even block the user for more than 3 invalid attempts Core Features: The system stores previous transaction patterns for each user Based upon the user spending ability and even country, it calculates user's characteristics More than 20-30 deviation of user transactions spending history and operating country is considered as an invalid attempt and system takes action

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago