Skip to content

Instantly share code, notes, and snippets.

View michaelsmueller's full-sized avatar

Michael Mueller michaelsmueller

View GitHub Profile
pragma solidity ^0.5.0;
contract Base {
uint public num;
address public sender;
function setNum(uint _num) public {
num = _num;
sender = msg.sender;
}
@michaelsmueller
michaelsmueller / keybase.md
Created August 19, 2020 16:49
keybase.md

Keybase proof

I hereby claim:

  • I am michaelsmueller on github.
  • I am mavlike (https://keybase.io/mavlike) on keybase.
  • I have a public key ASDIU-ECsZNSz1MVLiXYTB2QFGVB2zrBzSlXkP4wCoH1iwo

To claim this, I am signing this object:

Coding challenge: The recycling game

Instructions

From the array of given trash, make sure every item goes into the right bin. If an item happens to be dirty, it should go to the generic bin, regardless of material.

Here is the array of trash: