Learn c programming in the easiest way. C is the basic language of machine manguage.if you learn c/c++ all other language will easy to you.

My first c programme

// Lab #02 Introducing with C program
# include <stdio.h>
int main () {
printf (" Hello World \n") ;
printf (" Name: Rajib Ahmed\n");
printf (" Roll: 43\n");
printf (" Batch: E73\n");
printf (" Semister: 2nd\n");
printf (" Department: CSE\n");

// Lab #03 Basic Operation of c Program.
int a, b, c0, c1, c2, c4, month, day, c6, swap;
    a=5,
    b=7,
    c0=a+b,
printf (" Static Value of a+b=""%d", c0);
// Lab- 04 Write a c program to show the output of Addition, Subtraction, Multiplication, Division.
printf("\n Enter different values of a= ");
scanf(" %d", &a);
printf("\n Enter different values of b= ");
scanf(" %d", &b);
printf("----Arithmatic Operations----\n");
c0=a+b;
c1=a-b;
c2=a*b;
//Lab- 04.1 Type conversion
float c3;
c3=(float)a/(float)b;
c4=a%b;
// LAB- 05 Write a c program to show the output of month and days in Addition,Subtraction, Multiplication, Division.
month=c0/30;
printf(" \n\n Sum value 0f (a+b)=""%d, days=%d, month=%d,", c0, c0, month);
month=c1/30;
printf(" \n\n Subtraction of (a-b)=""%d, days=%d, month=%d,", c1, c1, month);
month=c2/30;
printf("\n\n Multiply value of (a*b)=""%d, days=%d, month=%d,", c2, c2, month);
month=c3/30;
printf("\n\n Division value of (a/b)=""%f, days=%f, month=%f,", c3, c3, month);
printf("\n\n Remainder value of (a%%b) =""%d", c4);
// LAB- 05 Swaping value two variables
swap=c0;
c0=c1;
c1=swap;
printf("\n\n Swaping value (a+b), (a-b), swap=" "%d %d %d", c0, c1, swap);
printf("\n\n After swap of a+b=""%d", c0);
printf("\n\n After swap of a-b=""%d", c1);
// LAB- Quadric equation form of ax*x+bx+c=0
/*float a, b, c, discriminant, root1, root2;
scanf(" %d", &c);
discriminant = (b*b-4*a1*c);
if (discriminant < 0)
    printf("\n\nRoots are Imaginary");
else
{
    root1 =( -b + sqrt(discriminant))/(2.0*a);
    root2 =( -b - sqrt(discriminant))/(2.0*a);
    printf ("\n\nRoot1 =%5.2f\n\nRoot2 =%5.2f");*/

printf("\n\n\n ============Coded by Rajib Ahmed============\n");
return 0;
}