Hollow rectangle pattern
Print hollow rectangle pattern using ‘*’. See example for more details. Input Format Input contains two integers W – width […]
Your blog category
Print hollow rectangle pattern using ‘*’. See example for more details. Input Format Input contains two integers W – width […]
Write a program which reads three integers a, b and c, and prints the number of divisors of c between a and b. Input Three integers a, b and c are given in a
While Alice was drinking sugarcane juice, she started wondering about the following facts: Alice wonders, what is the juicer’s profit
Each pizza consists of 44 slices. There are 𝑁N friends and each friend needs exactly 𝑋X slices. Find the minimum number of pizzas they should order to satisfy
Chef’s phone shows a Battery Low notification if the battery level is 15%15% or less. Given that the battery level of Chef’s
Chef is looking to buy a TV and has shortlisted two models. The first one costs 𝐴A rupees, while the second one
Chef considers the climate HOT if the temperature is above 2020, otherwise he considers it COLD. You are given the temperature 𝐶C, find whether the climate
Chef has his lunch only between 11 pm and 44 pm (both inclusive). Given that the current time is 𝑋X pm, find out whether it is lunchtime for
Chef is not feeling well today. He measured his body temperature using a thermometer and it came out to be 𝑋X °F.