Q-1 : WAP to code in either of your language eg : INPUT :2016 OUTPUT : 12101116
INPUT: 24011996 OUTPUT : 121410212916.
Q2: Given two array array 1 and array 2 print all those element which are not in array 2.
Q3: Given string "Sum of 2 and 3 is 5" print all those elements which are divisible by 3 then sum and also print the last number.
Q4 : 100 people standing in a circle in an order 1 to 100. No. 1 has a sword. He kills the next person (i.e. No. 2) and gives the sword to the next (i.e. No. 3). All people do the same until only 1 survives. Which number survives at the last?
There are 100 people starting from 1 to 100.
Q5 : Find the string which contains "Soad" word.