LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Intro (https://www.linuxquestions.org/questions/linuxquestions-org-member-intro-24/)
-   -   just started studying c programming (https://www.linuxquestions.org/questions/linuxquestions-org-member-intro-24/just-started-studying-c-programming-4175423859/)

benny348 08-24-2012 04:44 PM

just started studying c programming
 
Using printf( ) statements write a c program to
reproduce the following picture:
*
/ * \
* | | |
/ \ * * | | |
/ \ ---- | | |
/ \ | | | | |
/=========\ / | | | \
| | / | | | \
| | *
| | * * *
--------------- --------------------------------------- /=========== \-------------------
need help with this work

LinuxLover! 08-25-2012 08:19 AM

I wish I had the Internet to ask my homework questions in. Try creating ONE printf statement and look at the output. What will you learn if everything is given to you? Get a intro to C book or find good websites with examples. I do not know C, I know PHP and I have several books on the topic along with some websites.

Also, don't ask for others to do your work in the forums. Make an attempt on your own and then ask questions about why things may not have happened as you would have expected. People will be much more willing to help if you show some effort and provide the code you have. Simply saying, "Do my homework for me" is not the way to get sincere help.


All times are GMT -5. The time now is 05:09 PM.