'Added extra task;'

This commit is contained in:
Arkadiusz Hypki 2024-03-11 15:14:35 +01:00
parent e0d2a784d7
commit 542b2a8312
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# Code,Contents,Value,Warehouse
'0MN7','Rocks',180,3
'4H8P','Rocks',250,1
'4RT3','Scissors',190,4
'7G3H','Rocks',200,1
'8JN6','Papers',75,1
'8Y6U','Papers',50,3
'9J6F','Papers',175,2
'LL08','Rocks',140,4
'P0H6','Scissors',125,1
'P2T6','Scissors',150,2
'TU55','Papers',90,5
1 # Code Contents Value Warehouse
2 '0MN7' 'Rocks' 180 3
3 '4H8P' 'Rocks' 250 1
4 '4RT3' 'Scissors' 190 4
5 '7G3H' 'Rocks' 200 1
6 '8JN6' 'Papers' 75 1
7 '8Y6U' 'Papers' 50 3
8 '9J6F' 'Papers' 175 2
9 'LL08' 'Rocks' 140 4
10 'P0H6' 'Scissors' 125 1
11 'P2T6' 'Scissors' 150 2
12 'TU55' 'Papers' 90 5

View File

@ -0,0 +1 @@
Write, in any language (C, C++, Java, Python...), a code to do the same as in the sql excercise 3.9 in the most compact form possible. Use boxes.csv and warehouses.csv files.

View File

@ -0,0 +1,6 @@
# Code,Location,Capacity
1,'Chicago',3
2,'Chicago',4
3,'New York',7
4,'Los Angeles',2
5,'San Francisco',8
1 # Code Location Capacity
2 1 'Chicago' 3
3 2 'Chicago' 4
4 3 'New York' 7
5 4 'Los Angeles' 2
6 5 'San Francisco' 8