computer science java

write a program in java for a grocery (fruit shop calculate the prize of bananas @ $.89/kg declaring the the prices of all either as instances or class variables.declare the weight of the fruit as local variables

  1. 👍 0
  2. 👎 0
  3. 👁 275

Respond to this Question

First Name

Your Response

Similar Questions

  1. science

    Which of the following questions is most testable through scientific experimentation? 1. Which gelatin takes longer to set: gelatin with fruit or gelatin without fruit? ***? 2. Which fruit looks more attractive in gelatin: bananas

  2. probabilty

    There are 4 baskets. The first basket has 3 apples and 4 oranges, the second one has 4 apples and 5 mangoes, the third one has 6 Mangoes and 2 bananas and the last one has 7 bananas and 2 apples. If a fruit is randomly chosen from

  3. Java

    write a java program to read a record name, age, and salary. Calculate the tax amount on the salary field display the new record.

  4. Math

    There is a bowl of fruit on the table. There are twice as many apples as pears and one more orange than apples. Eight pieces are either oranges or bananas. There are 3 bananas. How many pears are there in the bowl? Thanks

  1. math

    Salama makes fruit baskets with oranges and bananas. She uses between 8 and 16 oranges and bananas in a ratio of 3 oranges to 2 bananas. Drag the correct number of fruit into the box to meet these requirements.

  2. Math

    1/3 of the 6 dozen fruits in a fruit seller's cart are apples.If 1/4 of all the fruits are oranges and the rest of the fruits are bananas,find how many dozen of bananas are there in a fruit seller's cart?

  3. Algebra please help out

    Ed is using the recipe shown to make fruit salad. He wants to use 30 diced strawberries in his fruit salad. How many bananas, apples, and pears should Ed use in his fruit salad? The fruit salad recipe reads 4 bananas, diced, 3

  4. mathematics

    You are making fruit baskets using 54 apples, 36 oranges and 73 bananas. What is the greatest number of identical baskets you can make? Why can’t you use all of the fruit?

  1. programming

    Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The

  2. java programming

    write a java program using arrays function for hotel bill calculation?

  3. math

    In the fruit bowl there are 3 apples, 4 bananas, and 4 pears. What is the ratio of pears to ALL fruit?

  4. math

    a basket of fruit has 3 apples, 2 pears, and 4 bananas. what fraction of the fruit are bananas?

You can view more similar questions or ask a new question.