Remaining apples and he also dozed back to sleep

Assignment Help Basic Computer Science
Reference no: EM131076168

Three friends Ahmed, Bobby and Chandan had a crate full of apples that they originally intended to share equally amongt themselves. During the night, Ahmed woke up and took a third of the apples, then promptly fell asleep again. Bobby woke up shortly after and also decided to take a third of the remaining apples and he also dozed back to sleep. Finally, Chandan woke up and seeing the others were asleep, took a third of what was left. Of course none of the friends knew of the other's antics, so, in the morning, they shared the remaining apples, each receiving sixteen. How many apples did Chandan finally get?

A. 162

B. 70

C. 24

D. 40

Reference no: EM131076168

Questions Cloud

What modifications to the previous programming problem : Write a C++ class derived from Graph Interface, as given in Listing 20-1. Use an adjacency matrix to represent the graph.
Production quota for the total number of items : A company manufactures x units of one item and y units of another. The total cost in dollars, C, of producing these two items is approximated by the function C=4x^2+3xy+6y^2+600. (a) If the production quota for the total number of items (both types..
How did archetypes such as new woman come about in korea : How did archetypes such as Good Wife Wise Mother, New Woman, and Modern Girl come about in Korea in the late 19th and early 20th centuries?
Use a statistical software package to construct : Use a statistical software package to construct a normal probability plot of the tensile ultimate-strength data given in Exercise 13 of Chapter 1, and comment
Remaining apples and he also dozed back to sleep : Finally, Chandan woke up and seeing the others were asleep, took a third of what was left. Of course none of the friends knew of the other's antics, so, in the morning, they shared the remaining apples, each receiving sixteen. How many apples did ..
Different ways are there or the grades : There are 20 students in a class and each student must receive a grade of A,B,C,D, or F. How many different ways are there or the grades to assigned?
Determine the arguments made in the documents and context : Use the worksheet provided to determine the arguments made in the documents and context of the documents. Write a 400-500 word essay that puts these documents in conversation with one another.
Draw all the possible spanning trees : . Draw all the possible spanning trees.
Fuel consumption rating and average cost of fuel : Determine the cost to drive each distance at the given fuel consumption rating and average cost of fuel.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Planning to purchase light commuter aircraft within one year

The airline is planning to purchase light commuter aircraft within one year. These will be used on short flights to small, regional centres. They require that the design of the system be flexible enough to accommodate light commuter aircraft with ..

  Utilize the lirn library

Write a 2 page research paper (excluding the title page) on logical, circular, and arithmetic shift operations. Use an example not discussed in the textbook to explain these shift operations.

  Write disadvantage of the condensed design circuit

what's the advantages and disadvantage of the condensed design circuit (2-bit multiiplier) ?? which one is better a condensed one or just the normal one ?? please good explanation

  Discuss the deferred update technique of recovery

What are the advantages and disadvantages of this technique? Why is it called the NO-UNDO/REDO method?

  Cybercrime

Topic: CYBERCRIME I. INTRODUCTION a. Financial Theft

  Business uses networks-computers-support business functions

Think about a business you are familiar with, one which urilizes networks and computers to support business functions. Make a list of ten important, specific items like computers, disks.

  Prevent random gun violence by unstable people

(a) Should more controls be placed on gun ownership to prevent random gun violence by unstable people? (b) Should fewer controls be placed on gun ownership to help people defend themselves from violent crime?

  Test adding machine program that repeatedly reads in integer

Write and test an adding machine program that repeatedly reads in integers and adds them into a running sum. The program should stop when it gets an input that is 0, printing out the sum at that point.

  Microsoft office component

Predict the microsoft office component and / or feature that you believe will be the most difficult for you to learn and explain why

  What questions should a control system answer

What questions should a control system answer?

  How do you use pattern matching with inequalities

how do you use pattern matching with inequalities supposed i wanted to say that if 3>4 then "abc" how would i do that with pattern matching in ocaml

  The concept of global and scope of variables

Having looked at what happens to variables within functions and the concept of global and scope of variables, reflect on why Vectors are such a useful data structure. Explain your reasoning and provide examples to support it.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd