ProblemAlice and Bob are meeting after a long time. As usual they love to play some math games. This times Alice takes the call and decides the game. The game is very simple, Alice…
ProblemWrite a program to obtain length (L) and breadth (B) of a rectangle and check whether its area is greater or perimeter is greater or both are equal.
Please Share thi…
ProblemChef has N slippers, L of which are left slippers and the rest are right slippers. Slippers must always be sold in pairs, where each pair contains one left and one rig…
ProblemIn a coding contest, there are prizes for the top rankers. The prize scheme is as follows:Top 10 participants receive rupees X each.Participants with rank 11 to 100 (b…
ProblemYou're given an integer N. Write a program to calculate the sum of all the digits of N.
Please Share this article...
Input Format
The first line contains an intege…
ProblemChefland has 2 different types of coconut, type A and type B. Type A contains only x_a milliliters of coconut water and type B contains only x_b grams of coconut pulp.…