Home > Back-end >  C why input character program will end and input digital will continue to C is
C why input character program will end and input digital will continue to C is

Time:10-11

 

#include
using namespace std;
Int main ()
{
Cout<& lt;" Please input: ";
int a;
cin> a;
CoutChar b;
cin> b;
Cout
Char k;
Cin & gt;> k;
cout return 0;
}

CodePudding user response:

The first input requirement is type int, second, three input is the char, you press type to enter

CodePudding user response:

Not by type lose ends

CodePudding user response:

Indeed lose according to type
  • Related