Include Using Namespace Std Int Main Int Char Month 50 Praumncakpedrdanhashahalamselnangor Q43799141
#include <iostream>
using namespace std;
int main()
{
int i;
char month [50]=”PRAUMNCAKPEDRDANHASHAHALAMSELNANGOR”;
for (int i=1; i<30; i++)
{
cout << month[i];
if (i==2)
i +=1;
else if (i==4)
i +=2;
else if (i==7)
i +=3;
else if (i==11)
i +=4;
else if (i==16)
i +=5;
else if (i==22)
i +=6;
}
}
Can someone explain to me how to read the output without usingc++ ?? Im so confuse how to read an array
Expert Answer
Answer to #include using namespace std; int main() { int i; char month [50]=”PRAUMNCAKPEDRDANHASHAHALAMSELNANGOR”; for (int i=1; i…
OR