Hi Vishwanath,
11) Run the "For" loop or any loop from 1 to 100 . Take a number from user. For eg If its 10 , then run the loop from 1 to 10 then break the loop .
4) This question is to find number of unique letters in a word . For eg Siliconindia , S once, i thrice, l once, c once, o once, n twice, d once, a once . Number of unique letters is 6 .
3) Run the loop from 1 to 20 . Take an number from user as input . If that number is between 1 to 20 , pop a message else take another number from user .
Aug 11, 2010