Write a COMPLETE C program to ask the user to enter a grade
     Write a COMPLETE C^++ program to ask the user to enter a grade. If the grade is greater than or equals to 60, but less than or equal to 100, the program will display \"Congratulations! You pass the exam.\" If the grade is less than 60, but greater than or equal to 0, the program will display \"You failed the test. Work harder\". If the grade is not within the range from 0 to 100, the program will display \"Invalid grade\". The following is a sample running result:  Running example 1: Please enter your grade: 89 Congratulation! You passed the exam. Press any key to continue  Running example 2: Please enter your grade: 55 You failed the test. Work harder. Press any key to continue  Running example 3: Please enter your grade: 105 Invalid grade. Press any key to continue  
  
  Solution
#include<iostream.h>
 #include<conio.h>
 void main()
 {
    clrscr();
   
    float marks;
    cout<<\"Please enter your grades:;
    cin>>marks;
   
    if(avg>100)
    {
        cout<<\"Invalid Marks.;
    }
    else if(avg>60 && avg<=100)
    {
        cout<<\"Congratulations you passed the exam.;
    }
    else(avg>0 && avg<=60)
    {
        cout<<\"You Failed the exam. Work harder.;
    }
   
    getch();
 }

