feat: solved day 3

This commit is contained in:
Stevan Freeborn
2024-12-03 23:50:01 -06:00
parent 0a7b6b2291
commit d658c31ffe
9 changed files with 225 additions and 15 deletions
+12
View File
@@ -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;