-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomerLoan.java
More file actions
36 lines (34 loc) · 828 Bytes
/
CustomerLoan.java
File metadata and controls
36 lines (34 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import java.util.*;
abstract class Customer {
abstract void getCustomer();
abstract void setCustomer();
void m1()
{
int customer_ID,customer_age;
String Customer_name,Customer_gender;
double bank_balance;
Scanner sc = new Scanner (System.in);
customer_ID=sc.nextInt();
customer_age=sc.nextInt();
Customer_name=sc.next();
Customer_gender=sc.next();
bank_balance=sc.nextDouble();
}
}
interface LoanInterface{
public void getLoan();
public void setLoan();
}
public class CustomerLoan
{
public static void main(String[] args)
{
Scanner sc = new Scanner (System.in);
String loantype;
System.out.println("Enter the loan type : ");
loantype=sc.next();
int loanamt;
System.out.println("Enter the loanamt : ");
loanamt=sc.nextInt();
}
}