Write a Java application to give calculate the change and give the least amount of coins for a shop in Great Britain. Most of Great Britain does not use the Euro although it may be accepted in some...




  1. Write a Java application to give calculate the change and give the least amount of coins for a shop in Great Britain. Most of Great Britain does not use the Euro although it may be accepted in some stores. Our shop does not accept the Euro. See the articlehttp://projectbritain.com/money.htmlfor an explanation of British currency. Do not worry about archaic denominations like “groats” or “shillings”.



    As the article states, the pound is “divided into 100 pence.


    Current coins are:



    • 1 penny

    • 2 pence

    • 5 pence

    • 10 pence

    • 20 pence

    • 50 pence

    • 1 pound

    • 2 pounds.”


    Bills start at 5 pounds. We won’t calculate change for bills, only for coins.


    If someone gives you 5 pounds and their purchase totals 3 pounds 40 pence, you would calculate they need 1 pound, 60 pence returned to them. You would give them a:



    • One 1 pound coin

    • One 50 pence coin

    • One 10 pence coin


    Use the modulus operator and integer division to calculate the change. Use the command prompt to obtain user input.




    1. Write a Java application to give calculate the change and give the least amount of coins for a shop in Great Britain. Most of Great Britain does not use the Euro although it may be accepted in some stores. Our shop does not accept the Euro. See the articlehttp://projectbritain.com/money.htmlfor an explanation of British currency. Do not worry about archaic denominations like “groats” or “shillings”.



      As the article states, the pound is “divided into 100 pence.


      Current coins are:



      • 1 penny

      • 2 pence

      • 5 pence

      • 10 pence

      • 20 pence

      • 50 pence

      • 1 pound

      • 2 pounds.”


      Bills start at 5 pounds. We won’t calculate change for bills, only for coins.


      If someone gives you 5 pounds and their purchase totals 3 pounds 40 pence, you would calculate they need 1 pound, 60 pence returned to them. You would give them a:



      • One 1 pound coin

      • One 50 pence coin

      • One 10 pence coin


      Use the modulus operator and integer division to calculate the change. U




      1. Write a Java application to give calculate the change and give the least amount of coins for a shop in Great Britain. Most of Great Britain does not use the Euro although it may be accepted in some stores. Our shop does not accept the Euro. See the articlehttp://projectbritain.com/money.htmlfor an explanation of British currency. Do not worry about archaic denominations like “groats” or “shillings”.



        As the article states, the pound is “divided into 100 pence.


        Current coins are:



        • 1 penny

        • 2 pence

        • 5 pence

        • 10 pence

        • 20 pence

        • 50 pence

        • 1 pound

        • 2 pounds.”


        Bills start at 5 pounds. We won’t calculate change for bills, only for coins.


        If someone gives you 5 pounds and their purchase totals 3 pounds 40 pence, you would calculate they need 1 pound, 60 pence returned to them. You would give them a:



        • One 1 pound coin

        • One 50 pence coin

        • One 10 pence coin


        Use the modulus operator and integer division to calculate the change. Use the command prompt to obtain user input.




        1. Write a Java application to give calculate the change and give the least amount of coins for a shop in Great Britain. Most of Great Britain does not use the Euro although it may be accepted in some stores. Our shop does not accept the Euro. See the articlehttp://projectbritain.com/money.htmlfor an explanation of British currency. Do not worry about archaic denominations like “groats” or “shillings”.



          As the article states, the pound is “divided into 100 pence.


          Current coins are:



          • 1 penny

          • 2 pence

          • 5 pence

          • 10 pence

          • 20 pence

          • 50 pence

          • 1 pound

          • 2 pounds.”


          Bills start at 5 pounds. We won’t calculate change for bills, only for coins.


          If someone gives you 5 pounds and their purchase totals 3 pounds 40 pence, you would calculate they need 1 pound, 60 pence returned to them. You would give them a:



          • One 1 pound coin

          • One 50 pence coin

          • One 10 pence coin


          Use the modulus operator and integer division to calculate the change. Use the command prompt to obtain user input.




          1. Write a Java application to give calculate the change and give the least amount of coins for a shop in Great Britain. Most of Great Britain does not use the Euro although it may be accepted in some stores. Our shop does not accept the Euro. See the articlehttp://projectbritain.com/money.htmlfor an explanation of British currency. Do not worry about archaic denominations like “groats” or “shillings”.



            As the article states, the pound is “divided into 100 pence.


            Current coins are:



            • 1 penny

            • 2 pence

            • 5 pence

            • 10 pence

            • 20 pence

            • 50 pence

            • 1 pound

            • 2 pounds.”


            Bills start at 5 pounds. We won’t calculate change for bills, only for coins.


            If someone gives you 5 pounds and their purchase totals 3 pounds 40 pence, you would calculate they need 1 pound, 60 pence returned to them. You would give them a:



            • One 1 pound coin

            • One 50 pence coin

            • One 10 pence coin


            Use the modulus operator and integer division to calculate the change. Use the command prompt to obtain user input.










    2. se the command prompt to obtain user input.





Apr 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here