Results 1 to 3 of 3
  1. #1
    JohnNewman is offline Member
    Join Date
    Apr 2017
    Rep Power

    Default \\ Help With Java Coding Please ?

    Hey Guys :)
    I've been reading a java book for dummies and I really became frustrated and desperate with this question cuz i reached a point where I really can't work out the next stepو please help

    Ben has opened a new cookies oven, he wants to produce cookies of various flavors and tastes. In his mind he decided to have four types of cookies, the cookies are mainly made of wheat flower or corn flower. The dough ingredients of cookies are flower, sugar , milk , yeast , butter. each type of cookies dough has a percent of such ingredients in addition there are some other gradient for each type such as cocoa , anise seed, black seed and other based on the taste of the cookies. In addition to such cookies has topping such as chocolate topping, strawberry, blueberry, raisins.

    You need to write a program that simulates cookies of different types and ingredients using the concept of Object-Oriented without using the concept of inheritance. Then your program will have an array of 100 elements of random cookies and need to compute the quantities of all the above ingredients.

    thanks :)

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    Default Re: \\ Help With Java Coding Please ?

    Do you have any specific java programming questions?
    What have you tried?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    benji2505 is offline Senior Member
    Join Date
    Sep 2014
    MA, USA
    Rep Power

    Default Re: \\ Help With Java Coding Please ?

    I'd say you will need a cookie class that has a couple of Integer properties (ingredients) and 4 Boolean properties (toppings).

Similar Threads

  1. Coding sms in java?
    By strictlydivine.elite in forum Advanced Java
    Replies: 2
    Last Post: 11-18-2010, 02:10 PM
  2. Replies: 4
    Last Post: 10-25-2010, 03:49 PM
  3. help with java coding
    By helpisontheway in forum New To Java
    Replies: 4
    Last Post: 11-14-2009, 07:00 AM
  4. java coding
    By zawad in forum Suggestions & Feedback
    Replies: 1
    Last Post: 07-07-2009, 01:55 PM
  5. Coding Java on a Mac
    By Menre in forum New To Java
    Replies: 5
    Last Post: 05-06-2008, 05:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts