Saturday, December 10, 2011

Basic c program





Basic c programs



C
program to print "hello world"


C
program to add two given numbers


C
program to accept a string from users and print it


C
program to check a given number is positive or negative


C
program to swap two numbers


C
program to print numbers from 1 to 10


C
program to print numbers from 1 to 10 in reverse order


C
program to print all even numbers of the given range

No comments:

Post a Comment