Solve This (? + ? + ?=30)
If 1111=R, 2222=T, 3333=E, 4444=N Then 5555=?
Guess the Hindi Muhawara from the following whatsapp Emoticons?
Sweet, Medicine, Film, Girl, City, Car, Place, Doggy all are name same, guess which word it is?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
Guess me who am I, I am the first on earth, the second in heaven...
Which Indian cricketer is known as "Brown Bradman"?
The philosopher Pythagoras of Samos (c. 570 – c. 495 BCE) believed in transmigration of souls, led a group..............
In which modern country was the Aksumite, or Axumite, Empire, which flourished from about the late first................
int main() { int i =2,k= 6,z = 0; z = ((~k)+1) + i; printf("result %d\n",z); }
May not be the best way but try something like this
int main () { int a=5, b=1 ,c; c=0; while (a >= b) // this is assuming that you are subtracting b from a and answer is positive { b ++; c++; } printf("ans = %d \n",c); }
I am search for different approach. Let see how many solution i can get
How will we print numbers from 1 to N without using loop or recursion?