% is an Format specifier D is used to represent Integer
so both together tells the compiler that the input is of Integer format and to store the same in Integer Variable