Hi, I'm following the C++ Primer, for the section 1.4.4, when I type the code into Visual Studio it doesn't show the last entered input how many times occurs. But when I use an online compiler it gives the expected output.
Input : 3 5 6
Visual Studio gives :
3occurs 1times
5occurs 1times
Online Compiler gives :
3occurs 1times
5occurs 1times
6occurs 1times