void diamond(int n); // where n is the number of stars in the middle row. You can assume that n is odd.
(You can change the prototype of the function diamond)
usmanjani -3
Light Poster
Recommended Answers
Jump to PostIf you post the code you have tried it will go a long way to getting faster help for your urgent homework.
All 4 Replies
Suzie999 245
Coding Hobbyist
usmanjani -3
Light Poster
rproffitt 2,572
"Nothing to see here." Moderator
usmanjani -3
Light Poster
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.