Untitled
unknown
plain_text
2 years ago
303 B
2
Indexable
Never
import java.util.*; class Credit{ int card_num' String name; int validity_date; int cvv; String card_type; String bank_name; Credit_card(){ Scanner sc=new Scanner(System.in); card_num=sc.nextInt(); name=sc.next(); validity_date=sc.nextInt(); cvv=sc.nextInt(); card_type=sc.next(); bank_name=sc.next(); }