Homework Answers

Math 50414
Physics 44332
Chemistry 40988
Economics 30643
Programming & Computer Science 26876
Biology 8109
Engineering 6056

Questions answered by Experts: 207 418

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Purchase List

At a shop, a shopkeeper is making a note of all the purchases at the end of the day.He has a list full of the purchases that happened at the shop.He wants to know which item got sold only once and which item got sold more than once.Print their prices as asked.


Note:In case of ties, choose the price of the item that was sold earlier in the day.


Input

The input is a single line containing space-separated integers representing the prices of the purchases.


Output

The first line of the output contains an integer that represents the price of an item that is sold only once.

The second line of the output contains an integer that represents the price of an item that is sold more than once.


If there is no filling the given criteria, print None.



Sample Input1

5 5 4 7 4 1 11

Sample Output1

7

5


Sample Input2

1 2 3 4 5 6 7 8 9

Sample Output2

1

None


Math Quiz


Write a python program to print the following,


Sample Input 1

1 3 4 5 6

5

3 5

Sample Output1

12


Create a class Book with title, author, and cost as data members. Include a constructor and a member function show Book () to set and print the member values respectively. Write main a method to demonstrate the Book class.

It takes 36 sec for 0.01 moles of He to effuse through a pinhole in an effusion


apparatus. It takes 72 sec for 0.01 moles of another gas to effuse through the


same system. What is the molecular weight of the unknown gas?

details for students and staff using inheritance. Student details: name, address, percentage marks. Staff details: name, address, salary.

At STP a certain mass of gas occupies a volume of 800 cm cube find the temperature at which the gas occupy 900 cm cube and has a pressure of 675mmhg


String Lookup

Ram challenges Anil to a game, He decides to give a target word W to Anil.The rules of the game are very simple.Ram gives Anil N sentences one by one and asks Anil to print the first sentence which contains the given word W.If the sentence numbering starts from 1, can you identify the first sentence number containing the word W?


Note: Consider lower and upper case letters as different.


Input

The first line of input is the word W.

The second line of input is a positive integer N.

The next N lines of input contain a string in each line.


Output

The output should be a single line containing an integer.

If the given word is not in any line of input strings, print -1.


Develop a C++ program implementing hierarchical inheritance upon a base class "Employee", and derived classes "Full-time" containing basic salary and allowances for calculating the salary of the employee and "Part-time" containing rate_per_day and no. of

2.1 Suppose the market model is described by the following demand and supply functions: Qd= 200-2P+ 4i and Qs= -200 + 3P where i =50 Answer the following questions: a) Calculate the equilibrium price (P) and quantity (Q) and indicate your answers on the graph. [03] b) If the market demand decreases by 50% what will be the new clearing price and quantity for this market? [03] c) Indicate the effect of the changes in (b) on a graph and explain what will happen to market price and quantity. [03]


The study of chemistry deals with all of the following EXCEPT: A. the energy changes that occur with matter B. changes in matter C. matter D. velocity

LATEST TUTORIALS
APPROVED BY CLIENTS