Thursday 28 February 2019

c program for cheak given number is even or odd

😃c program for check given number is even or odd.

if number is divisible by 2 and reminder is zero then given number is even 
otherwise given number is odd
eg.i am enter number 12 the it print the given number is even
     


//first include header files 

#include<stdio.h>
#include<conio.h>

void main()
{
         int no;
         printf("enter number\n");
          scanf("%d",&no);//here we can take number form user
          if(no%2==0)

       {
                printf("the given number is even\n")l
       }
      else
      {
               printf("given number is odd\n");
        }
        getch();

}

output   →  enter number
                    12 
                    the given number is even


THANKS  ...👆


hello program in c for bigners

HELLO  PROGRAM FOR BIGNNERS



\⬋⬋ first include heder files

#include<stdio.h>
#include<conio.h>

void main()
{

        printf("\n hello");

        getch();
}

output⤠ hello

Friday 22 February 2019

History of C language In Short

History of C Language

History of C language is interesting to know. Here we are going to discuss a brief history of the c language.

Dennis Ritchie is known as the founder of the c language.

It was developed to overcome the problems of previous languages such as B, BCPL , etc.
Initially, C language was developed to be used in UNIX operating system. It inherits many features of previous languages such as B and BCPL.
Let's see the programming languages that were developed before C language.
                                       Image result for father of c language

LanguageYearDeveloped By
Algol
1960
International Group
BCPL1967Martin Richard
B1970Ken Thompson
Traditional C1972Dennis Ritchie
K & R C1978Kernighan & Dennis Ritchie
ANSI C1989ANSI Committee
ANSI/ISO C1990ISO Committee
C991999Standardization Committee
                                      Image result for C LANGUAGE IMAGES

SQL Assignment-1 Library System

        Library System if any one want answers of following questions send messege on         instagram  id link      click here  ðŸ‘‰  ...