Skip to content

Instantly share code, notes, and snippets.

@joshparkerj
Last active August 11, 2024 06:03
Show Gist options
  • Save joshparkerj/6e324a62a5c1ffeb1a0c089576ac2ee8 to your computer and use it in GitHub Desktop.
Save joshparkerj/6e324a62a5c1ffeb1a0c089576ac2ee8 to your computer and use it in GitHub Desktop.
quick-flowchart.md
flowchart TD
A[choose shape];
B{Is the shape valid?};
C[call the function for that shape];
D[Display shape not valid];
A ----> B;
B --Yes--> C;
B --No--> D;
D ----> A;
E[Ask for variables];
F[Solve];
G[print the answer];
C ----> E;
E ----> F;
F ----> G;
H[Ask user if they want to go again];
G ----> H;
H --Yes--> A;
H --No--> I[END!];
J[display help];
B --help!--> J;
J ----> A;
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment