From 526845cf4848b4cb9fca4fd6ff04444c46d3ee04 Mon Sep 17 00:00:00 2001 From: Brian Bassanetti <89162244+BrainTheBest5@users.noreply.github.com> Date: Fri, 9 Dec 2022 16:51:57 +0100 Subject: [PATCH] Source Really simple source to print a floppy disk to a terminal --- floppy.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 floppy.c diff --git a/floppy.c b/floppy.c new file mode 100644 index 0000000..44f8a88 --- /dev/null +++ b/floppy.c @@ -0,0 +1,34 @@ +#include + +int main(){ + printf(" _________________________________________________\n"); + printf("| _____________________________________________ |\n"); + printf("| |\t\t\t\t\t\t| |\n"); + printf("| |_____________________________________________| |\n"); + printf("| |\t\t\t\t\t\t| |\n"); + printf("| |_____________________________________________| |\n"); + printf("| |\t\t\t\t\t\t| |\n"); + printf("| |_____________________________________________| |\n"); + printf("| |\t\t\t\t\t\t| |\n"); + printf("| |_____________________________________________| |\n"); + printf("| |\t\t\t\t\t\t| |\n"); + printf("| |_____________________________________________| |\n"); + printf("| |_____________________________________________| |\n"); + printf("| \t\t\t\t\t\t |\n"); + printf("| \t\t\t\t\t\t |\n"); + printf("| \t\t\t\t\t\t |\n"); + printf("| \t\t _______________________ \t |\n"); + printf("| \t\t|\t\t\t|\t |\n"); + printf("| \t\t|\t\t\t|\t |\n"); + printf("| \t\t|\t\t _____ |\t |\n"); + printf("| \t\t|\t\t| | |\t |\n"); + printf("| \t\t|\t\t| | |\t |\n"); + printf("| \t\t|\t\t| | |\t |\n"); + printf("| \t\t|\t\t| | |\t |\n"); + printf("| \t\t|\t\t| | |\t |\n"); + printf("| \t\t|\t\t|_____| |\t |\n"); + printf("| \t\t|\t\t\t|\t |\n"); + printf("| \t\t|_______________________/\t |\n"); + printf("| \t\t\t\t\t\t |\n"); + printf("|_________________________________________________/\n"); +}