Computing.Net > Forums > Programming > c program help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

c program help

Reply to Message Icon

Name: kcreddy
Date: October 7, 2003 at 12:07:02 Pacific
OS: windows98se
CPU/Ram: p4/128mb
Comment:

hi ,
can you help in writing c program for the following
1.Write a "Hello World" program in 'C' without using a semicolon.
2.Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;




Sponsored Link
Ads by Google

Response Number 1
Name: talha
Date: October 7, 2003 at 14:08:02 Pacific
Reply:

#1 ... you got me stumpped

#2 ... hint: use a 'goto'


0

Response Number 2
Name: JasonR
Date: October 7, 2003 at 18:07:10 Pacific
Reply:

#include < iostream>

main ()
{
if(printf("Hello, world!")){}
}


0

Response Number 3
Name: borelli35
Date: October 8, 2003 at 00:48:50 Pacific
Reply:

======================================================
kcreddy,

You need to at least attempt to come up with some code for your homework assignment and then post it with a specific question. It does you no good to ask someone else to completly do it for you....sorry.

borelli35



0

Response Number 4
Name: saddam
Date: October 11, 2003 at 19:19:55 Pacific
Reply:

if you are a beginner in C/C++, there are many sites for you to start of with. once you've got a grip, try some of your own code!


http://www.cplusplus.com


http://www.cprogramming.com

if it is a homework question and too lazy to learn, then check
this out.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: c program help

C programming help www.computing.net/answers/programming/c-programming-help-/6364.html

C Programing HELP www.computing.net/answers/programming/c-programing-help/13625.html

c programming help needed www.computing.net/answers/programming/c-programming-help-needed/10441.html