1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mama L [17]
3 years ago
13

(Java) Meadowdale Dairy Farm sells organic brown eggs to local customers. It charges $3.25 for a dozen eggs, or 45 cents for ind

ividual eggs that are not part of a dozen. Write a program that prompts a user for the number of eggs in the order and then display the amount owed with a full explanation using the following wording: You ordered 27 eggs. That’s 2 dozen at $3.25 per dozen and 3 loose eggs at 45 cents each for a total of $7.85.
import java.util.Scanner;
class Eggs {
public static void main(String[] args) {
// Write your code here

}
}​
Computers and Technology
1 answer:
zepelin [54]3 years ago
8 0

import java.util.Scanner;

public class Eggs {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("How many eggs?");

       int eggs = scan.nextInt();

       int dozens = eggs / 12, ind = eggs - (dozens*12);

       

       System.out.println("You ordered "+eggs+" eggs. That's "+dozens+" at $3.25 per dozen and "+ind+" loose eggs at 45 cents each for a total of $"+((dozens*3.25)+(ind*0.45))+".");

   }

   

}

I hope this helps!

You might be interested in
Your mother is sure that you were driving too fast because she knows
Klio2033 [76]

I think the corret answer would be C

5 0
3 years ago
Read 2 more answers
CRM software programs are designed to help companies gather all customer contact information into multiple data management progr
kogti [31]

Answer:

The correct answer is: CRM are often implemented into sales departments first since this area of a company typically generates the greatest amount of customer contact.

Explanation:

To begin with, a Customer Relationship Management or CRM is a management system used in the field of marketing and business in order to create a better relationship with the customers of a company under the creation of a system that uses all of the clients' personal data to achieve the goal of understanding them their likes and dislikes in order to get to known them better and generate a strong bond with them.

To continue, this system is typically used in the sales departments due to the fact that this area of the company is the one<u> that has more contact with the clients</u> at first sight. However, the system could be use in every department of the organization as well.

6 0
4 years ago
Identify the correct way to cite the Occupational Outlook Handbook's "How to Become a Dentist" web page.
quester [9]

Answer:

C."How to Become a Dentist." Occupational Outlook Handbook. Bureau of Labor Statistics and US Department of Labor, 29 March 2012. Web. 1 May 2013.

Explanation:

When citing an online publication without a known author, the title of the article is first stated and encapsulated in italics. This is then followed by the name of the website or book. The organization responsible for the write-up is indicated. A comma separates the name of the organization and the date when the article was written. 'Web' is written to show that the material was obtained online. Finally, the date that tells when the article was retrieved is noted.

This guideline applies to both the Modern Language Association and the American Psychological Association citation styles.

6 0
3 years ago
Read 2 more answers
Help me code plz i using python language on laptop please answer or comment if u want to help
dybincka [34]

Answer:

What is the question you have?

Explanation:

7 0
2 years ago
Among the second generation home console companies,which managed to come out on top
crimeas [40]

Answer:

The second generation of home consoles occurred from (1976-1988) at this time the most popular and consoled regarded as best was the Atari 2600

Explanation:

answer from Cligon768 on this site

3 0
3 years ago
Other questions:
  • Which one of the following may be used as an input as well as an output device? A. Fax machine B. Scanner C. Printer D. Voice re
    9·1 answer
  • Why is ipsec considered to be a transparent security protocol?
    6·1 answer
  • A computer processes data using only 1s and 0s true or false?
    9·2 answers
  • if you love games played on facebook, such as farmville, what might be your motivation for playing games
    13·1 answer
  • What is not true of credit scores?
    11·1 answer
  • A palindrome is any word, phrase, or sentence that reads the same forward and backward. Here are some well-known palindromes: Ab
    11·1 answer
  • The power saving state that saves all work to the hard drive and powers down the system is known by what term?
    11·1 answer
  • What are some specific ways that businesses use the internet?
    6·2 answers
  • Guys is there a way to watch manga in colour for free
    13·1 answer
  • What type of attack occurs when the threat actor snoops and intercepts the digital data transmitted by the computer and resends
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!