package test.ipad;
import java.util.Scanner;
public class IpadCost {
public static void main(String[] args){
int numOfIpad; //this will be used to capture numberof ipads for a classroom
//below variables are given as per the question
double costOfIpadInDollar = 799;
double salsTaxInPercent = 8.2;
int totalNumOfClassroom = 10;
int maxNumOfIpadPerClass = 20;
// this array will be maintained to store totalcost ofipads including sales tax for every classroom
//since total number of classroom is defined hence thearray size is also bound to the number of clasroom
double[] totalIpadCostArr = newdouble[totalNumOfClassroom];
//below variables will be used to calculate for everyclassroom
doubletotalIpadOnlyCost,totalSalesTax,totalCostForClass;
int classroomCounter = 0;//counter will