Discuss: In this problem you have to make the average of numbers then check linearly which number is greater then the average then just make percentage with total numbers and above the average number.
Discuss: it is just kind of tricky problem. you just can do on calculator and convert it in programming language. if it is less then and it's even or greater then 0 and less then 8 then it is underflow. if it is less then 0 and it's a odd or greater then 13 then it's overflow. otherwise you just print the factorial of n
Discussion: There is tricky part in this problem. Many check string in if condition that not equal to whitespace. and else print the reverse word. but at the the end word there is problem with the check of whitespace and last word don't print. to avoid it in if condition check whitespace and '\0' character. and in else store the word in another string.
Discussion : In this problem make sum of every digit of number. if until the sum less then 10 or 1. replace n with sum. if sum=1 then number is happy otherwise unhappy.
at first try yourself,if you can't then only see the code.
It is just a simple problem to solve.Just subtract hour from 11. if it is less than or equal 0 then add 12 with hour. and for min if it is not equal to zero than subtract min from 60. and for align use %02 specifier .
at first try yourself but if you can't then only see the code.
Discussion : in this problem we just have to sort the evening and morning hours. then add with smallest one with greatest one then compare it with d. if it exceed then multiple with over time rate
discussion: Just compare the value of H if H is large then downward acceleration also large..
if H and large H is equal then compare the volume of them the large volume should assign to the large volume.
here are the code, before see the code try yourself first. otherwise you can't develop in programmin