Offer

C program for Nested if Else | C Language


Continue And Download


C Program For Nested if else :


C program Output :

(1).

(2).

 Copy from below 📜 :

 #include<stdio.h>

#include<conio.h>

int main()

{

    int marks;

     printf("enter your marks :\n ");

     scanf("%d",&marks);

    if(marks>100)

        printf("Not valid marks ");

    else if(marks>=75)

        printf("your grade is : A+ ");

    else if(marks>=60)

        printf("your grade is : A ");for

    else if(marks>=45)

        printf("your grade is : B ");

    else if(marks>=33)

        printf("your grade is : C ");

    else if(marks<33)

        printf(" you are Fail ,,Better luck next time ");


}                

Download pdf file :


















Post a Comment

0 Comments