import java.util.*; public class customerMonthlyAnalysis { int tot_price =0, p; String[] prd_quan = new String[50]; int[] prd_price = new int[50]; Scanner customer = new Scanner(System.in); int x1,x; String cus_name1, cus_name; public void scan() { System.out.println("Enter no. of products"); int x1 = customer.nextInt(); x = x1; System.out.println("Enter the name"); String cus_name1 = customer.next(); cus_name = cus_name1; for(int i=0,s=1;i