Reference no: EM132185930
//Add statements to declare the global array variables
Declare Real notGreenCost = [6]
Declare Real goneGreenCost = [6]
Declare Real Savings = [6]
Declare String Month [6] = "January", "February", "March", "April", "May", "June"
Module main()
//Declare local variables
Declare String endProgram = "no"
Call initMonths()
While endProgram == "no"
//Module calls
Call getNotGreen()
Call getGoneGreen()
Call energySaved()
Call displayInfo()
Display "Do you want to end the program (enter yes or no):"
Input endProgram
While endProgram<>"no" AND endProgram<>"yes"
Display "Please enter a value of yes or no: "
Input endProgram
End While
End While
End Module
Module initMonths()
months = "January", "February", "March", "April", "May", "June"
End Module
Module getNotGreen()
//Add statements to retrieve 6 months of info and save to the array
End Module
Module getGoneGreen()
//Add statements to retrieve 6 months of info and save to the array
End Module
Module energySaved()
//Add statements to calculate 6 months of savings and save to the array
End Module
Module displayInfo()
//Add statements to display results as shown above
End Module
Is it possible for me to get help on this answering the ones with "//" ?