Sundaranna runs a hotel near Sahyadri Campus. Today there is a huge rush due to the Pace Wisdom placement drive. Sundaranna has lost the count of how many plates he can serve. Help him out by getting the number of plates possible. A student, Azzan orders idli. Help Sundaranna to calculate the total number of possible idli plates based on the amount of idlis available. Sundaranna needs 3 idlis to make one plate, so if there are 99 idlis, it should return 33 plates. Another student, Shashank orders two items, idli and vada. Now, It takes two idli and one vada to make an idli vada plate. The program should return the total number of possible idli vada plates, so if there are 2 idlis, but only 1 vada, it should return 1. Example 1: Input: 3 idlis , 1 vada Output: Option 1: 1 plate idli Option 2: 1 idli vada, 1 extra idli Example 2: Input: 300 idlis , 100 vada Output: Option 1: 100 plate idli Option 2: 100 idli vada, 33 plate idli, 1 extra idli Example 3: Input: 300 idlis , 50 vada Output: Option 1: 100 plate idli Option 2: 50 idli vada, 66 plate idli, 2 extra idli
Software Engineer Trainee Interview Questions
6,016 software engineer trainee interview questions shared by candidates
write a python code for swapping 2 elements
What ever you have mentioned in resume They will ask about that
Perguntaram se eu teria disponibilidade para me mudar para bh depois de formado
Explain basic OOP concepts in detail with examples.
1. Palindrome 2. String Sorting 3. Swap without third variable
What would you like to change about yourself
Q1. Write a program to run test cases for perfect square palindrome(easy). Q2. Write a program to run test cases to find length of train(very easy).
Write a SQL Query to find the student name who has scored 2nd Rank in the exam, Given a table of students' names and total marks.
Define a macron in C?
Viewing 201 - 210 interview questions
See Interview Questions for Similar Jobs
Software Engineer 2018Associate Software EngineerFresher Software EngineerSoftware Engineer C++Software Engineer Entry LevelNew Grad Software EngineerSoftware Engineering AssociateSoftware Engineer GraduateSoftware Developer New GradSoftware Engineer EntrySoftware EngineeringSoftware Engineering New GradSoftware Engineering GraduateSoftware Engineer Tools DeveloperSoftware Developer 2Software Engineer Co-opSoftware Engineer New GradSoftware Engineer Coop