# Welcome back

## Find a book, put up your feet, stay awhile

Sign in with Facebook

Sorry, we are unable to log you in via Facebook at this time. Please try again later.

or

Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more

Download

Standard view

Full view

of .

Look up keyword

Like this

Share on social networks

9Activity

×

0 of .

Results for: No results containing your search query

P. 1

Puzzles in CRatings: (0)|Views: 891|Likes: 9

Published by api-26282464

See more

See less

https://www.scribd.com/doc/6549246/Puzzles-in-C

03/18/2014

text

original

\ue000

Write a C program to find a peculiar two digit number which is three times the

sum of its digits.

\ue000

Bacteria are known to multiply very rapidly. If a certain container contains just one bacterium on the first day and there are twice as many on the next day. In this manner the number of bacteria in the container doubles itself everyday. Assuming that the container would be full on the 10th day with 13,312 bacteria, find the number of bacteria that was initially in the container on the first day.

\ue000

Calculate the factorial of a number recursively. From that calculate the value of

COS(X) = 1 - X2/2! + X4 /4! - X6/ 6! +\u2026\u2026.

\ue000

A number of \u201cCats\u201d got together and decided to kill between them999919 mice.

Every cat killed equal number of \u201cmice\u201d. Write a program to find number of cats.

\ue000

Consider the following number 45*45=2025; 20+25=45.Write a program to

generate number between 32 and 99 that satisfies the above property.

\ue000

Rita has a money pouch containing Rs.700. There are equal number of 25 paise coins, 50 paise and one rupee coins. Write a C program to find how many of each are there?

\ue000

Calculate the factorial of a number recursively and from that calculate the value

of ex=1+ (X1/1!) + (X2 /2!) + (X3/3!) + \u2026\u2026\u2026.

\ue000

There are some goats and ducks in a farm. There are 60 eyes and 86 foot in total.

Write a program to find number of goats and ducks in the farm.

\ue000

Write a C program to find a three digit number which is greater than the aggregate

of its third, tenth and the twelfth parts by 58.

\ue000

Write a C program to find a two digit number, the second digit of which is smaller than its first digit by 4, and if the number was divided by the digit\u2019s sum, the quotient would be 7.

\ue000

Calculate the factorial of a number recursively and then write a program to find

the sum of series 1/2! +3!/4 +5/6! +7!/8 + 9/10! +\u2026\u2026\u2026..n terms.

\ue000

Multiply a two digit number by another two digit number; the result should contain the 4 digits of the multipliers. Eg: 15*93=1395.Write a program to generate all the numbers satisfying the above property.

\ue000

Write a C program to find two whole numbers between 1 and 100, difference of their squares is a cube and the difference of their cubes is a square. These are the smallest possible numbers.

\ue000

Write a C program to split 34 parts into two parts such that 4/7 of one of the parts

equals 2/5 of the others?

\ue000

Write a program to divide 45 into 4 addable parts such that when 2 is added to the first part, 2 is subtracted from the second part, 2 is multiplied to the third part and fourth part is divided by 2 and all the four results should be the same number.

\ue000

220 and 284 are called as amicable numbers. Since the sum of proper divisors of 220 is equal to 284 and the sum of proper divisors of 284 is equal to 220. Write a program to generate all amicable numbers between 1000 and 10000.

\ue000

Shuba works in the post office and she sells stamps. One day a man walked in and kept seventy five paise on the counter and requested, \u2018Please give me some 2 paise stamps, six times as many as 1 paise stamps, and for the rest of the amount give me 5 paise stamps\u2019. The bewildered Shuba thought for a few moments and finally she handled over the exact fulfillment of the order to the man-with a smile. Write a C program to find the solution for the fulfillment of the man's order.

\ue000

The product of three consecutive numbers when divided by each of them in turn,

the sum of the three quotients will be 74. Write a program to find these numbers.

\ue000

Consider a street containing 288 houses in total, numbered from 1 to 288 in order. Write a C program to find a peculiar house number, such that number of houses on each side will add up alike

\ue000

Consider the numbers 12 and 21. If we reverse one numbers (say 12), we can get the other (ie.21). Calculate the squares of them 144 and 441 respectively. These numbers are also the reverse of each others. Write a program to generate 2 set of numbers satisfying this property.

\ue000

There are 1023 coins in total. Using these coins you should make minimum number of packets and any of these packets should not contain equal no. of coins like any other packets. These packets should satisfy any person\u2019s requirement of any amount of coin without splitting the packets. List the total no. of packets and no. of coins in each packet.

\ue000

Write a C program to find a two digit number whose double is greater than its half

by 45.

\ue000

Write a C program to find a peculiar two digit number which is three times the

sum of its digits.

\ue000

Write a program to divide 45 into 4 addable parts such that when 2 is added to the first part, 2 is subtracted from the second part, 2 is multiplied to the third part and fourth part is divided by 2 and all the four results should be the same number.

You've already reviewed this. Edit your review.

1 hundred reads

1 thousand reads

Tank Bhavin liked this

Venkat Reddy liked this

Tank Bhavin liked this

pallavipatil1988 liked this

venki_pinki liked this

Anantatmakula Venkata Satya Aditya liked this

Anantatmakula Venkata Satya Aditya liked this

- Read and print without ads
- Download to keep your version
- Edit, email or read offline

© Copyright 2015 Scribd Inc.

Language

Choose the language in which you want to experience Scribd:

Sign in with Facebook

Sorry, we are unable to log you in via Facebook at this time. Please try again later.

or

Password Reset Email Sent

Join with Facebook

Sorry, we are unable to log you in via Facebook at this time. Please try again later.

or

By joining, you agree to our

read free for two weeks

Unlimited access to more than

one million books

one million books

Personalized recommendations

based on books you love

based on books you love

Syncing across all your devices

Join with Facebook

or Join with emailSorry, we are unable to log you in via Facebook at this time. Please try again later.

Already a member? Sign in.

By joining, you agree to our

to download

Unlimited access to more than

one million books

one million books

Personalized recommendations

based on books you love

based on books you love

Syncing across all your devices

Continue with Facebook

Sign inJoin with emailSorry, we are unable to log you in via Facebook at this time. Please try again later.

By joining, you agree to our

Are you sure?

This action might not be possible to undo. Are you sure you want to continue?

CANCEL

OK

You've been reading!

NO, THANKS

OK

scribd