Question
What is the difference between the third element from
the right in step IV and the fourth element from the left in step III? Study the following information carefully to answer the given questions. A number arrangement machine when given an input line of numbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement. Input : 97 13 78 2391 45 67 32 Step I: 04 78 23 91 45 67 32 02 Step II: 05 04 78 45 67 32 02 08 Step III: 05 05 04 45 67 02 08 01 Step IV: 09 05 05 04 02 08 01 01 Step IV, is the last step. Input: 76 14 12 96 86 34 65 45 56 24Solution
In the given Input-Output the numbers are arranged from both the ends simultaneously. In first step- Lowest number is arranged from the left end and highest number is arranged from the right end. In second step- 2nd lowest number is arranged from the left end and 2nd highest number is arranged from the right end and so on... Also while arranging the numbers, the numbers which are arranged from left end are replaced by the addition of the digits of that number whereas the numbers which are arranged from the right end are replaced by the difference of the digits of that number. Input : 76 14 12 96 86 34 65 45 56 24 Step I: 03 76 14 86 34 65 45 56 24 03 Step II: 05 03 76 34 65 45 56 24 03 02 Step III: 06 05 03 34 65 45 56 03 02 01 Step IV: 07 06 05 03 45 56 03 02 01 01 Step V: 09 07 06 05 03 03 02 01 01 01 34 – 2 = 32
The marked price of a product is Rs.300 more than the cost price. If 55% discount offered on the marked price and the profit percent on that product is ...
Ravi purchased an article and marked it 75% above the cost price and sold it after giving a discount of 25% for Rs. 1575. What will be the selling price...
- Priya sold 35% of her books. She then found that she had 40 fewer books than 75% of what she originally owned. How many books did Priya sell?
Burger King applies a fixed charge and an additional fee for each burger ordered. 'Arun' and 'Vicky' placed orders for 180 and 120 burgers, respectively...
A shopkeeper buys an article for Rs. 3,200. He wants to make a 10% gain after offering a 20% discount on the label price. What should be the marked pric...
- A person bought a television at a 14% discount. If he had received a 28% discount, he would have saved ₹5600 more. Find the market price of the televisio...
Anil sold 12 cameras at a loss of 10%. If he had sold all the cameras for Rs. 1440 more, his overall profit would have been 20%. What is the cost price ...
A store owner sells two products, E and F. She makes a 10% profit on product E costing Rs. 1000. If the combined profit percentage for the two products ...
A Company allow 8% commission on the total sales to its salesman but if the salesman is appointed on a fix salary of Rs. 5000 and 6% commission on the s...
A fruit seller sells mangoes at a profit of 20%. If he had bought them at 10% less and sold them for ₹3 less per mango, he would have gained 25%. Find...