c language code example

Example 1: c

/* Answer to: "c" */

/*
  To learn about the letter 'C' you go to the Wikipedia:
  https://en.wikipedia.org/wiki/C
  ...but this is a Chrome Exstention for developers:

  C is a general-purpose, procedural computer programming language
  supporting structured programming, lexical variable scope, and
  recursion, while a static type system prevents unintended
  operations.
  
  Here's the Wikipedia:
  https://en.wikipedia.org/wiki/C_(programming_language)
*/

Example 2: c

#include <stdio.h>

int main() {
   printf("Hello, world!");
   return 0;
}

Example 3: c language tutorial

#include <stdio.h>

int main() {
   /* my first program in C */
   printf("Hello, World! \n");
   
   return 0;
}

Example 4: c tutorial

#include <stdio.h>

void main() {
   /* my first program in C */
   printf("Hello, World! \n");
   
   
}

Example 5: c language

#include stdio.h
#include conio.h
void main(){
    int s1,s2,s3,total;
    float per;
    clrscr();
    printf("ENTER SUBJECT MARKS:");
    scanf("%d%d%d",&s1,&s2,&s3);
    total=s1+s2+s3;
    per=total/3;
    if(s1>40 && s2>40 && s3>49)
    {
      if(per>90)
      printf("A GRADE");
      else if(per>70)  
      printf("B GRADE");
      else if(per>50)
      printf("C GRADE");
      else if(per>40)
      printf("D GRADE");
    }
    else
    printf("FAILED");
    getch();
}

Example 6: what is C

"C" is a programming language.