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.
3831Write 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%.
2148Input :14000 Output : hundred and fourteen thousand.(wrong) Desired output : fourteen hundred thousand.
2 6091there 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.
2983Post New Sapient Java Related AllOther Interview Questions
“If you have 2 eggs, and you want to figure out what's the highest floor from which you can drop the egg without breaking it, how would you do it? What's the optimal solution?â€
What is webapplicationinitializer in spring?
What is jsp application?
What does adapter class provide?
What are the defects in exhaust valve?
You are a project manager for Swirling Seas Cruises food division. You're considering two different projects regarding food services on the cruise lines. The initial cost of Project Fish'n for Chips will be $800,000 with expected cash inflows of $300,000 per quarter. Project Picnic's payback period is six months. Which project should you recommend? A. Project Fish'n for Chips because its payback period is two months shorter than Project Picnic’s B. Project Fish'n for Chips because the costs on Project Picnic are unknown C. Project Picnic because Project Fish'n for Chips' payback period is four months longer than Project Picnic’s D. Project Picnic because Project Fish'n for Chips' payback period is two months longer than Project Picnic's
Can you pass functions in java?
Where Does Bank Of Uganda Derive Its Mandate To Supervise Financial Institutions?
What is organization wide default? : salesforce sharing and security
what is the defination of mat n calculation of mat... with example this is applicable in company or firm, pl. discribe me.....thanx ashok
Which feature can we use to cause a component to render only when its id changes?
Explain the spreadsheet.
What is protocol in networking?
Elaborate on Identifiers?
What do you need if you want to bind a list to data in your jsonmodel?