Friday, October 13, 2017

Write a c program to add the two numbers using function

Source code is

























Now compile it in your c compiler. And result is

Write a c program to print hello guys using function

Source code is





















Now just compile it on your compiler.And result is

Thursday, October 12, 2017

Write a c program to print 1 to 10 integers using for loop

Source code is



















Now execute this in c compiler and result is

Write a c program to identify the age of a person

Source code is



































Now execute in C compiler and result is


Write a c program to print the variable(number)

Source code is here





















Now execute in c compiler.And result is



Write a c program to calculate simple interest

Source code:

Now compile it on your compiler.Result is


Share this code to your frienfs and follow this blog,i will post others too.

Wednesday, October 11, 2017

How to write a code in c programming?

First of all I would recommend you to know what is c programming as well as programming concept.So you can be familiar with programming. For c programming,we need many things like:
1.Text editor
2.C compiler
3.Online compiler (optional)
4.passion
After that,we should execute code in compiler by compiling.Check this.


After compiling then run it which is near in compile.The result will be like this.

Now lets know in online compiler too,there are many websites that can proceed to compile c file.


There are many websites  to compile :
many more.Thank you

Tuesday, October 10, 2017

Write a c program to print “Hello World” .


Here is the code
 
 Now execute in c compiler and i chose in codeblocks to compile this code.The result is


Hello world