import java.util.Scanner; public class main { public static void main(String[] args) { Scanner sc= new Scanner(System. in ); System. out .println( "Enter Member Id" ); int a=sc.nextInt(); sc.nextLine(); System. out .println( "Enter Name" ); String b=sc.nextLine(); System. out .println( "Enter Member Type" ); String c=sc.nextLine(); ClubMember clubMember= new ClubMember(a,b,c); calculateMembershipFees (clubMember); } public static void calculateMembershipFees(ClubMember clubMember) { if (clubMember.getMemberType().equalsIgnoreCase( "Gold" )) { clubMember.setMembershipFees( 50000 ); } else if (clubMember.getMemberType().equalsIgnoreCase( "Premium" )) { clubMember.setMembershipFees( 75000 ); } System. out .println( "Member Id is