1/* Answer to: "c" */
2
3/*
4 To learn about the letter 'C' you go to the Wikipedia:
5 https://en.wikipedia.org/wiki/C
6 ...but this is a Chrome Exstention for developers:
7
8 C is a general-purpose, procedural computer programming language
9 supporting structured programming, lexical variable scope, and
10 recursion, while a static type system prevents unintended
11 operations.
12
13 Here's the Wikipedia:
14 https://en.wikipedia.org/wiki/C_(programming_language)
15*/
1#include <stdio.h>
2
3int main() {
4 /* my first program in C */
5 printf("Hello, World! \n");
6
7 return 0;
8}
1#include stdio.h
2#include conio.h
3void main(){
4 int s1,s2,s3,total;
5 float per;
6 clrscr();
7 printf("ENTER SUBJECT MARKS:");
8 scanf("%d%d%d",&s1,&s2,&s3);
9 total=s1+s2+s3;
10 per=total/3;
11 if(s1>40 && s2>40 && s3>49)
12 {
13 if(per>90)
14 printf("A GRADE");
15 else if(per>70)
16 printf("B GRADE");
17 else if(per>50)
18 printf("C GRADE");
19 else if(per>40)
20 printf("D GRADE");
21 }
22 else
23 printf("FAILED");
24 getch();
25}
1#include <stdio.h>
2
3void main() {
4 /* my first program in C */
5 printf("Hello, World! \n");
6
7
8}