Find Jobs
Hire Freelancers

Write some Software

$10-30 USD

Dokončeno
Zveřejněno přibližně před 7 roky

$10-30 USD

Zaplaceno při doručení
Project Yesterday, Mr. Nader went to a supermarket and purchased many products. Unfortunately, when he went to the cashier, he discovered that there is no enough money with him. Since Mr. Nader is your neighbor, you decided to help him by writing a Java program that checks if he has enough money or not before going to the cashier. In addition, the program will print the product with the minimum price. Write a Java program that:  Reads from Mr. Nader the amount of money with him.  Reads from Mr. Nader many lines; each line consists of 2 values: the name of product, and its price.  At the end, the program should print a message indicating if Mr. Nader has enough money or not. Only if he has enough money, the program should also print the name of product with the minimum price in addition to this price (rounded to 3 decimal places). Hints:  The user should enter the word "stop" as a product's name to finish the input.  You could assume that all products have different prices.  You could assume that the price of any product is less than 500.  You could assume that the name of product consists of exactly one word.  You should change the currency (KD) according to your country.  Your program should follow (exactly) the format of the following sample: Sample Input and Output: How much money do you have? 100 Please, insert the items in the invoice (the name of product and its price): Insert \"stop\" as the name of product to finish your input Banana 20.200 Water 15.300 Honey 37.500 stop You have enough money Water is the item with the minimum price (which is KD 15.300) NOTE: It's a project for the university
IČ projektu: 13534349

O projektu

3 nabídky
Vzdálený projekt
Aktivní před 7 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
Uděleno:
Avatar uživatele
Hello, this project can be done easilly and quickly today. Since it is university project, java doc will be included. Thank you
$10 USD v 1 dni
5,0 (4 recenze)
2,7
2,7
3 freelanceři nabízejí v průměru $81 USD za tuto práci
Avatar uživatele
EXPERT here. VERY EASY for me. Contact me ASAP. Thanks, Junaid
$100 USD v 3 dnech
4,9 (96 recenze)
6,3
6,3
Avatar uživatele
Hello, friend? How are you? I am a software developer in Desktop(C/C++, C#, JAVA, VBA, VB.NET, ASP.NET, WPF, UWP, .NET, MFC), Mobile(ANDROID STUDIO, IONIC, HYBRID, CORDOVA, CAMERA, XAMARIN, IPHONE, IOS) and Web(WORDPRESS, WORDPRES PLUGIN, ECOMMERCE, PHP, HTML, Angular JS, JQurey, Java script, WOOCMMERCE, MAGENTO, CODEIGNITER). I have been working as strong individual developer, having enough experiences in 7 years+. You will get the best result and i will never disappoint you. Best regards. One more thing, if you need more info about me, you can see my profile. Good luck.
$166 USD v 1 dni
4,9 (3 recenze)
3,2
3,2

O klientovi

Pochází z SAUDI ARABIA
Dammam, Saudi Arabia
5,0
2
Ověřená platební metoda
Členem od led 17, 2017

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.