When I enter a value for the group_input variable, the program finishes, and I can't enter a value for the fio_input variable. If I enter a short value, I can proceed to enter a value for the fio_input variable. What's the problem?
#include <iostream>
using namespace std;
int main()
{
unsigned char group_input, fio_input, result[7] = {0, 0, 0, 0, 0, 0, 0};
cout << "\n Enter your group name: ";
cin >> group_input;
cout << "\n Enter your full name: ";
cin >> fio_input;
}