This C program allows the user to input a character and then prints out that character in the shape of a sword using nested for loops. The character is printed in increasing and decreasing rows to form the handle, a long straight section for the blade, and then several shorter rows to form the tip of the sword.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
36 views3 pages
Proyek Akhir Dasar Komputer "Pedang"
This C program allows the user to input a character and then prints out that character in the shape of a sword using nested for loops. The character is printed in increasing and decreasing rows to form the handle, a long straight section for the blade, and then several shorter rows to form the tip of the sword.