feat: solved day 3
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace MullItOver;
|
||||
|
||||
public abstract class Instruction {};
|
||||
|
||||
class MulInstruction(int multiplicandOne, int multiplicandTwo) : Instruction
|
||||
{
|
||||
public int Execute() => multiplicandOne * multiplicandTwo;
|
||||
}
|
||||
|
||||
class DontInstruction : Instruction;
|
||||
|
||||
class DoInstruction : Instruction;
|
||||
Reference in New Issue
Block a user