this is a python code that i need to covert to C++ code...is this possible? if so, can you please convert this pythin code to C++?
def main():
endProgram = 'no'
print
while endProgram == 'no':
print
# declare variables
notGreenCost = [0] * 12
goneGreenCost = [0] * 12
savings = [0] * 12
months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
getNotGreen(notGreenCost, months)
getGoneGreen(goneGreenCost, months)
energySaved(notGreenCost, goneGreenCost, savings)
displayInfo(notGreenCost, goneGreenCost, savings, months)...