pastebin

Paste Search Dynamic
Recent pastes
percentage
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.         float percentage;
  5. printf("enter the percentage");
  6. scanf("%f",&percentage);
  7. if(percentage>=80)
  8. printf("A");
  9. else if(percentage>=70)
  10. printf("b");
  11. else if (percentage>=60)
  12. printf("c");
  13. else
  14. printf("Gail ");
  15.         return 0;
  16. }
Parsed in 0.005 seconds