Lengkap

I need help with one task

We are given a CSV file containing the prices of every item on every menu of every restaurant in the town of Jurgensville. In addition, the restaurants of Jurgensville also offer Value Meals, which are groups of several items, at a discounted price. Below is the file's format

for lines that define a price for a single item:

restaurant ID, price, item label

for lines that define the price for a Value Meal (there can be any number of items in a value meal)

restaurant ID, price, item 1 label, item 2 label, ...

All restaurant IDs are integers, all item labels are lower case letters and underscores, and the price is a decimal number.

We need a program that accepts...

the town's price file

a list of item labels that someone wants to eat for dinner

and outputs

the restaurant they should go to

the total price it will cost them

It is okay to purchase extra items if the total cost is minimized.

Here are some sample data sets, program inputs, and the expected result:

Data File [login to view URL]

1, 4.00, burger 1, 8.00, tofu_log

2, 5.00, burger 2, 6.50, tofu_log

Program Input

> program [login to view URL] burger tofu_log

Expected Output

=> 2, 11.5

Data File [login to view URL]

3, 4.00, chef_salad

3, 8.00, steak_salad_sandwich

4, 5.00, steak_salad_sandwich

4, 2.50, wine_spritzer

Program Input

> program [login to view URL] chef_salad, wine_spritzer

Expected Output

=> null (or false or something to indicate that no matching restaurant could be found)

Data File [login to view URL]

5, 4.00, extreme_fajita

5, 8.00, fancy_european_water

6, 5.00, fancy_european_water

6, 6.00, extreme_fajita, jalapeno_poppers, extra_salsa

Program Input

> program [login to view URL] fancy_european_water extreme_fajita

Expected Output

=> 6, 11.0

Kemahiran: ASP.NET, Pengaturcaraan C#, Object Oriented Programming (OOP)

Lihat lagi: i need help advertising my website, i need help designing a form, i need help designing a shirt, i need help designing clothes, i need help designing my van wrap, i need help find worker, i need help finding a manufacturer, i need help finding a shoes designer, i need help from an engineer, i need help from scientist, i need help getting my book edited not much money, i need help in designing a powerpoint presentation for a conference, i need help in getting leads to sell my service, i need help in writing a think piece, i need help in writing an executive summary, i need help in writing my project, i need help marketing my business, i need help marketing sales in frederick md, i need help on writing an essay, okay google i need help preparing a powerpoint presentation or applicable media on the topic of my choice

Tentang Majikan:
( 5 ulasan ) Stafford, United States

ID Projek: #20024979

Dianugerahkan kepada:

dungforever

Hi +++ I can finish in 1 day +++ I have read your requirement very carefully. My major is algorithm and I am expert at game AI, Simulation, etc.. I can finish your project with high quality in time. Hope your kind cont Lagi

$20 USD dalam 7 hari
(13 Ulasan)
3.9

6 pekerja bebas membida secara purata $25 untuk pekerjaan ini

kipdev13

Dear sir. I read your description carefully. I have fully talents and skills of this part. I can give you satisfactory results. I want you to call me. From DragonWarrior...

$30 USD dalam sehari
(24 Ulasan)
4.8
mukeshjap

Hi ! As I have seen your above explained requirements for yours projects. Hello There, Greetings for the day ! Our technical expertise IVR with Twilio , includes cross-platform proficiency (Windows, Unix, Linux and Lagi

$20 USD dalam 7 hari
(19 Ulasan)
4.1
smilingcstar

Hello! I understood your project. I see that you need some help for some programming I am on freelancer all day and I will implement all things that you want perfectly. I can help with that and can start right away! I Lagi

$20 USD dalam sehari
(0 Ulasan)
0.0
AhmedRagab321

Dear I read your description and I have found that your job very interested And it would be easy to be done at a short time you can see my work in the profile ------------------------------------------- Lagi

$35 USD dalam sehari
(0 Ulasan)
1.8
evonsystems7

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned "I can do th Lagi

$27 USD dalam 7 hari
(1 Ulasan)
0.0