You have to take number of students as input , then ask marks for three subjects as ‘Physics’, ‘Maths’, ‘History’, if the total marks for any student is less 120 then print he failed, or else say passed.

Check if a string is palindrome or not


Write program to run from 0 to 100 and if number is divisible by 3, 5 and both print Fizz, Buzz, FizzBuzz respectively

Input a line from the user and count the number of words

Life, UNiverse and everything

Your program is to use the brute-force approach in order to find the Answer to Life, the Universe, and Everything. More precisely... rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two digits.


Given two binary strings, A and B, output 1 if B is a substring of A and 0 otherwise.


Length of A > Length of B


Calculate the factorial of a number


By Ratnadeep Debnath


  • 890
Loading comments...

More from Ratnadeep Debnath