Please solve this question in C++ format and please give thecorrect code because there are many solutions on chegg that I havetried and other chegg tutor have tried to solve this problem buthave not able to give me the correct code that will beaccepted.
This is what the computer wants in green.8.7: Igpay Atinlay Write
OR
OR