hello there , I see various interesting programs (such as diamond pattern using "*") on the Internet. Several of them uses Maths functions to form a particular shape. Check out this one..
the above program prints a heart shape with "Happy Valentine's Day" message. They used the math functions to perform this task. If I want to print a particular shape without using a graphic library , say a cube how would I do that ? I need your guidance to understand such situation. What is "idx" in the above code ? I mainly get confused with For Loops with mathematical calculation. I find it very hard to understand. Sorry , If I sound like complete moron.. unlike you guys , I don't have an engineering degree. >