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 6093there 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
What is the advantage of using ayrton or universal shunt in multi-range ammeters?
What are the challenges that you will face to script the step “select all” and then “delete” for any mail account?
How to create prepared statements using odbc_prepare()?
Explain about windows phone user interface?
Will there ever be windows 11?
Which are the different factors that affect the reliability of a network?
What is Surge Capacitor? Why it is use in Generator Circuit Breaker?
How many types of segments in Oracle?
Dear Friends, I am having a 4+ years of experience in HR field and am planning to do SAP - HR general course (not the certification) but one of friend suggested me to go for SAP certification. But am confused whether to go for certification or general course?? If I have to do the certification how for its going to help?? How is the future for SAP CERTIFICATION?? NEED YOUR HELP, KINDLY ADVISE ME Best Regards Kiran M: +91 – 9632600115 Email: Kirankumar7782@gmail.com
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What are the no-load losses for the 11000/415V transformer with the following rated capacity? 1.1500 kVA 2. 2000 kVA 3. 2500 kVA 4. 3000 kVA
List out all the impacts of the internet of things will be experienced in the transportation industry?
Is oracle better than mysql?
what methods are available for persisting records in an idms database?
What is the master data in sap pm?