Hello. Today we are going to have an easy daily challenge.
You and several friends are in a party. You are asked to buy items in store. They will pay you back after all.
Each person only want one item in the store, but not everybody wants the same thing.
Mainly two input:
Name of your friends, what they want and how many
Items in the store and the price of them
Output:
Name of them and how much they need to pay you back.
Good but i think u have misunderstood my question. The output should be
(Name): (amount of $)
And it should be a list of various people
For the items, it is not fixed so you have to make an input for items in the store too.
That’s better! I don’t want to frustrate you, but the input and output should be a string
I am sure it can be done by adding a very few blocks
Btw, why didn’t u use any input variable in the procedure, instead u use the global variables? Just a minor thing