pls help me how to get this output in turbo C...
ull be able to input a number for ex. 5 its output is
5 4 3 2 1
4 3 2 1
3 2 1
2 1
1
tnx in advance...
Array in Turbo C?
Pseudo-code that might get you going:
Set x to entered value.
for i = x downto 1 {
for j = i downto 1 {
print j
}
print newline.
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment