there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
3437Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose Student Marks A 12 B 60 C 80 D 71 E 30 F 45 percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him) percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him) percentile of A = 0/5*100 = 0%.
1686Input :14000 Output : hundred and fourteen thousand.(wrong) Desired output : fourteen hundred thousand.
2 5189there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
2631Post New Sapient Java Related AllOther Interview Questions
what is a site in SharePoint?
What will you do if u got Update failure?
How do you configure QTP AND Test director?
How can you check the level of fragmentation on a table?
The int maps to which C# keyword in .NET type?
Should I learn django or php?
why we need java instead of c
Can you define standard mode?
What do you understand by Newtonian Fluid? Where is it used?
I HAVE SELECTED INTERVIEW FOR GOVT POLYTECHNIC LECTURERS.I DONT KNOW ANYTHING.PLZ HOW INTERVIEW WILL GO AND WHAT QUE'S SUPPOSE TO ASK ABOUT SUBJECT.PLEASE SEND QUE'S AND ANSWERSTO MAIL OR CALL THIS NO:9966924990.PLZ HELP ME.
what is mind in cable
How would you describe the experience of working at Amgen?
Why is a sensitivity analysis important?
Have you done Migration? How to build in PeopleSoft ? Why build from Oracle?
How to drop an existing stored procedure in ms sql server?