Professional Documents
Culture Documents
Story Based Programming Statements PDF
Story Based Programming Statements PDF
India to America
1
Story Based Problem Statement 2
Write a program to find the Factorial of 10.
In the Atlantic ocean, there is an island and on this island there are two countries. In
each country there are three mountains and on each mountain, there are four walled
kingdoms. In each kingdom, there are five villages. In each village, there are six
houses. In each house, there are seven rooms and in each room there were eight
cupboards. In each cupboard, there were nine boxes. In each box, there were ten jars.
2
Story Based Problem Statement 3
Given two inputs Inp1 and Inp2, write a program to check whether
Inp1 is greater than 18 and Inp2 is greater than 40.
Blood bank
A team from Lions club had planned to conduct a rally to create awareness among
the people to donate blood. They conducted the rally successfully and many came
forward to donate their blood in the near by blood bank. The eligibility criteria for
donating blood is people should be above 18 and his/ her weight should be above
40. There was a huge crowd and the blood bank members found it difficult to
manage the crowd. So they required an entry portal, which would ask the people to
enter their age and weight in system. If a person is eligible, he / she will be allowed
inside.
Write a program required for the entry portal to find whether a person is
eligible for blood donation or not.
3
Story Based Problem Statement 4
WAP to find the largest number from an array of n integers.
Magic Show
30 students of a primary school were attending a magic show. The magician needs
one volunteer for one of his magic trick. So he asked one of the students to
volunteer and come on the stage. As the show was interesting, all the students were
interested and ready to volunteer. To choose one volunteer, the magician asked the
teacher to select one student. The teacher told the students that the student having
the maximum cash in his pocket will go to stage.
4
Story Based Problem Statement 5
Write a program to find the sum of following series
Sum=x+2x+4x+8x……M
Chocolate Uncle