Of course, I was not planning on copying it word by word. I just wanted to use it to understand how to program it myself. Thanks for your help.
Okay, I found a code for doing exactly this at: http://www.c.happycodings.com/Beginners_Lab_Assignments/code45.html
Should I make a rectangle and fill it with zeros, which won't be displayed, and place the appropriate numbers to make a triangle out of it? From...
I need to create a console program in C that prints out a Pascal triangle in a size given by the user. I can only use one array for this. Any tips?
Here is the entire program(with comments): #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> void rectangle(); //function that will draw a...
Hi ClayC, I think my code does the job okay, though it had a mistake that I fixed (= instead of a == near the end). About the array idea, we...
Here is the code I wrote for the function (I deleted my comments to make the code cleaner): int number() { int num; int num_test;...
Thank you very much, xpi0t0s!
I need to code a function that takes a number, and if it's not negative or zero (if it's zero then the function quits), it checks if it's digits...
Separate names with a comma.