Question: #include using namespace std; int main() { int i; char month [50]=PRAUMNCAKPEDRDANHASHAHALAMSELNANGOR; for (int i=1; i <30; i++) { cout < < month[i]; if (i==2)

#include 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 using c++ ?? Im so confuse how to read an array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!