When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
17 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
For a fixed size? Yes.
F.e. for size 3:
printf(
" 1 \n"
" 1 1 \n"
"1 2 1\n"
);
For a dynamic size? No.
This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.
i need to also be able to calculate the triangle
i cant used fixed values
Well, then you'll need to "use for loops"
cool thanks
assignment also says i need to flip the triangle so instead of 1
1
1 1
1 1 1
it should be
1111
111
1
what do you need to use to flip it?
@tranquil summit Has your question been resolved? If so, run !solved :)
Also for-loops?
Just solve it on paper and track every step you did. Then all you have to do is transfer your process to code.
i dont know how to code
im really bad
ive spent 2hrs already and cant do much
Well, I ain't gonna write your code.
If you "don't know how to code", then I'd suggest learning some basic syntax first