Using System;
Namespace Poem
{
Class Program
{
Main(string[] args)
{
Console.WriteLine(“1 or 0”);
String dec = Console.ReadLine();
bool life;
if (desc == 1)
{
life = true;
}
else
{
life = false;
}
string msg = MADNESS(life);
Console.WriteLine(msg);
Console.ReadLine();
life = !life;
Console.WriteLine(life.ToString());
Console.ReadLine();
}
Public Static String MADNESS(bool life)
{
bool suffering = false;
if(life == true)
{
suffering = !suffering;
return “madness ensues.”;
}
else
{
suffering = false;
return “madness took over.”;
}
}
}
}
I wrote this and formatted indentation on my phone, but it didn’t carry over, so I indented it on my laptop. This is my best attempt at fulfilling what seemed like a challenge (or request, idk) from Grey. I gotta say thanks because it was fun writing. I’m pretty sure this would actually compile into a program successfully.
I’m sorry if anyone doesn’t understand it. and any fellow C# coders, remember that c# is cool. Jan.12.2020, but indented Jan.13.2020