How two read integer and String in java in Same program


Code: to read integer and string in same program: 

     if we try to take a integer and after that a string in java it read integer successfully but skip the 

     next  line  to read the string so we do this in following way.





Comments

Popular posts from this blog

Program to print Z in Python

Program to print a pattern in python