Posts

Showing posts from September 18, 2014

Post 13 : Work Out Some nice Programming Challange

Problem 1.   Input a range from user and print all the number that are palindromes in that range. Hint: Use the logic of reversing the number. Input: 1 to 22 Output: 11, 22. Problem 2. Write a Program to Produce the Following Output                         1                 2                3         4                5                6 7                8                9                10 Problem 3. The probability that an individual telephone call will last less than t minutes can be approximated by the exponential probability function P(a call < t minutes) =1-  e^{-t/a} where $a$ is the aver...