Instructions:
Code:
#include <iostream>
using namespace std;
int main() {
  char array[100] ="supercalifragilisticexpialidocious";
  return 0;
}
#include <iostream>
using namespace std;
int main() {
 char array[100] ="supercalifragilisticexpialidocious";
 int index;
 cin>>index;
 cout<<array[index+1]; // or "cout<<array[index];" if starting from zero
 return 0;
}
Comments
Leave a comment