Answer:
Following are the code in the C++ Programming Language.
cin.get(dummy);
cin.get(dummy);
cin >> inputInt;
Explanation:
In the above code that is written in the C++ Programming Language, the first two code is written for the string character input from the user and it input or not input the whitespace characters and the last one is used for the input of the integer character from the user. The character variable they used that is 'dummy' and the integer variable they used is 'inputInt'.