We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello all, I'm new to this website, and I am also new to coding. I am having trouble creating a program to create shapes based on the type of width selected by me (of an odd number no less than 5, no greater than 23). I am working on visualstudio. The constraints are listed below. 1. For each shape you create via your code, you may only use an escape character sequence (e.g. “\n, \t”) up to 3 times. 2. For each shape you create via your code, you may only use the printf function up to 3 times. These constraints are forcing you to find a combination of selection and conditional loops structures that will generate the shape. A shape that I would need help on making would be like a diamond (essentially one regular triangle and upside triangle to create a diamond) but I cannot figure it out.
Any help would be greatly appreciated!:) I hope to be amazing at code like you guys are one day!