URGENT- make it - Programmers Heaven

#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

#### Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

# URGENT- make it

Posts: 42Member
Hi guys;
How can i make it?

N=4
_ _ _ 4
_ 2 3 4
1 2 3 4
1 2 _ _
1 _ _ _

_:blank

• Posts: 6,349Member
: Hi guys;
: How can i make it?
:
: N=4
: _ _ _ 4
: _ 2 3 4
: 1 2 3 4
: 1 2 _ _
: 1 _ _ _
:
: _:blank
:
:
Here's the first half:
[code]
for i := N downto 1 do
begin
for j := i to N do
write(j, ' ');
writeln;
end;
[/code]
You write the second half.
• Posts: 42Member
[b][red]This message was edited by lajevardi at 2006-5-5 23:27:45[/red][/b][hr]
thanks thanks thanks..
buti think there's an extra line,

4
3 4
2 3 4
1 2 3 4

/*i'm so tired and confused*/

• Posts: 6,349Member
: [b][red]This message was edited by lajevardi at 2006-5-5 23:27:45[/red][/b][hr]
: thanks thanks thanks..
: buti think there's an extra line,
:
: 4
: 3 4
: 2 3 4
: 1 2 3 4
:
: /*i'm so tired and confused*/
:
:
:
[code]
for i := N downto 1 do
begin
for j := 1 to i do
write(' ');
for j := i to N do
write(j, ' ');
writeln;
end;
[/code]
• Posts: 42Member
thank you so much,
my brain was hanged completely, i can't believe that i couldn't do that.
really thanks;