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 Trainer Interview Questions
9,381 software trainer 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
Se tive dificuldades em algumas matérias
Perguntaram se eu teria disponibilidade para me mudar para bh depois de formado
c++ java
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).
Viewing 311 - 320 interview questions