As I told you, I got stuck from the start.
This is what I've got so far...
PROGRAM Pascalstriangle;
VAR counter,ammount:INTEGER;
PROCEDURE GiveRow(i:INTEGER);
BEGIN
WRITELN('Row',i);
END;
BEGIN
WRITE('Give number of rows: ');
READLN(ammount);
FOR counter:=1 TO ammount DO...
Hello,
some time ago I started to learn Turbo Pascal.
Now I've got a complex question, for me that is.
I want to write a program that prints out Pascal's Triangle.
But I'm stuck since I started to figure out how to write this program.
The program has to ask the user how many rows it has to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.