As the U.S. spends Dollars, the Korean currency is Won (KRW), and there are 50,000 Won, 10,000 Won, 5,000 Won, and 1,000 Won bills. If the price of the product is 152,365 Won and the amount less than 1,000 Won is discounted, write a Java program to see how many minimum bills are required. Your output should be look like Figure 1 below. Fiftythousand x 3 Tenthousand x 0 Fivethousand x 0 Onethousand x 2 Total Count: 5 Total Amount: 152000 Won Discount: 365 Won Figure 1 Output of the First Program

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

using java programming to have create code to provide the sample output from the attachments. 

Page
1
> of 2
ZOOM +
Assignment 1 Basic Java Programming
1. As the U.S. spends Dollars, the Korean currency is Won (KRW), and there
are 50,000 Won, 10,000 Won, 5,000 Won, and 1,000 Won bills. If the price
of the product is 152,365 Won and the amount less than 1,000 Won is
discounted, write a Java program to see how many minimum bills are required.
Your output should be look like Figure 1 below.
Fiftythousand x 3
Tenthousand x 0
Fivethousand x 0
Onethousand x 2
Total Count: 5
Total Amount: 152000 Won
Discount: 365 Won
Figure 1 Output of the First Program
2. The equation for the position of equivalent-speed kinetic objects is as follows.
z(t) = ,ať -
5 at + vot + xo
where x(t) is the position, a is acceleration, t is travel time, vo is initial velocity,
and x, is the initial position. Assume that you try to drop an object from a
standstill at an altitude of 1,000 meters. Complete the Java code and obtain the
Transcribed Image Text:Page 1 > of 2 ZOOM + Assignment 1 Basic Java Programming 1. As the U.S. spends Dollars, the Korean currency is Won (KRW), and there are 50,000 Won, 10,000 Won, 5,000 Won, and 1,000 Won bills. If the price of the product is 152,365 Won and the amount less than 1,000 Won is discounted, write a Java program to see how many minimum bills are required. Your output should be look like Figure 1 below. Fiftythousand x 3 Tenthousand x 0 Fivethousand x 0 Onethousand x 2 Total Count: 5 Total Amount: 152000 Won Discount: 365 Won Figure 1 Output of the First Program 2. The equation for the position of equivalent-speed kinetic objects is as follows. z(t) = ,ať - 5 at + vot + xo where x(t) is the position, a is acceleration, t is travel time, vo is initial velocity, and x, is the initial position. Assume that you try to drop an object from a standstill at an altitude of 1,000 meters. Complete the Java code and obtain the
Page
1
> of 2
ZOOM +
2. The equation for the position of equivalent-speed kinetic objects is as follows.
1
x(t) = , ať + vot + xo
where x(t) is the position, a is acceleration, t is travel time, vo is initial velocity,
and xo is the initial position. Assume that you try to drop an object from a
standstill at an altitude of 1,000 meters. Complete the Java code and obtain the
same result as the output example. (There is no resistance in free fall, and the
acceleration of gravity is -9.81m/s².
Position after 5.00 seconds: 877.38m
Figure 2 Output of the Second Program
Transcribed Image Text:Page 1 > of 2 ZOOM + 2. The equation for the position of equivalent-speed kinetic objects is as follows. 1 x(t) = , ať + vot + xo where x(t) is the position, a is acceleration, t is travel time, vo is initial velocity, and xo is the initial position. Assume that you try to drop an object from a standstill at an altitude of 1,000 meters. Complete the Java code and obtain the same result as the output example. (There is no resistance in free fall, and the acceleration of gravity is -9.81m/s². Position after 5.00 seconds: 877.38m Figure 2 Output of the Second Program
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Processes of 3D Graphics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education