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
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
Get step-by-step solutions from verified subject matter experts
