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.
3935Write 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%.
2237Input :14000 Output : hundred and fourteen thousand.(wrong) Desired output : fourteen hundred thousand.
2 6283there 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.
3076Post New Sapient Java Related AllOther Interview Questions
How does inputsplit in mapreduce determines the record boundaries correctly?
Have you learned any new math tactics or shortcuts with your job?
What is implicit pointer in c++?
what is castigliano theaorem
Which scala library is used for functional programming?
Why is jms used?
1. What is Discount Rate? 2. Does it depends on place/condition where we are using it? 3. Discount Rate = Repo Rate or Bank rate?
how do you create a coordinated replicate in ogg 12c?
How to create custom middleware in laravel?
What’s keyword stemming?
What is auth? How is it used?
What is the use of SqlCommand object?
What are the specific features of vora vs apache spark? : hana vora
Explain about the execution plans of a Pig Script? Or Differentiate between the logical and physical plan of an Apache Pig script?
When you prepare Profit and loss A/C either you will get profit or loss but not both.Then why we are saying it as profit AND loss A/C,why cannot we say it is as Profit OR loss account?