how will i code this triangle:
a
bcb
cdedc
defgfed
efghihgfe

pls help me

Recommended Answers

All 2 Replies

It is a fairly basic programming exercise on loops.
If you Google you could easily find the answer.
Post the work you have done so far for this assignment.
Someone will help you with the places you are stuck.

commented: Good to see you back! +12
commented: N/A +9

Try it with numbers first if you are stuck:
1
232
34543
Then figure out how to translate from the numbers to the letters of the alphabet. Here's a hint:http://web.cs.mun.ca/~michael/c/ascii-table.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.