@1.14 sir at line 13
whats the use f cin.get()??
even if we dont write it code works fine than why are we using it???
Sir doubt in cin.getline(
@tejasddongare
if after input number we use cin.getline() then the enter after input no is considered as the first string so in order to prevent it cin.get() is used.
hope its clear if yes dont forget to hit like and mark resolved 