Apparently, if (!strcmpi("e", command[4])) is bad, what should I be using instead?

Code:
#include <iomanip>
#include <iostream>
#include <fstream>
#include <stdlib>
#include <conio>
#include <time>
#include <ctype>

int main()
{
char command[256];
cin.getline(command, 256, '\n');
cout<<command;
if (!strcmpi("a", command[0]))
{
cout<<"1";
}
if (!strcmpi("b", command[1]))
{
cout<<"2";
}
if (!strcmpi("c", command[2]))
{
cout<<"3";
}
if (!strcmpi("d", command[3]))
{
cout<<"4";
}
if (!strcmpi("e", command[4]))
{
cout<<"5";
}

return 0;
}