//Developed By Muhammad Rakib Hasan 2279
//Mark sheet
#include<stdio.h>
int main(){
int marks;
printf("Enter A Valied Marks: ");
scanf("%d",&marks);
if(marks>=80&&marks<=100){
printf("Your Grade Point Is A+");
}
else if(marks>=70&&marks<=79){
printf("Your Grade Point Is A");
}
else if(marks>=60&&marks<=69){
printf("Your Grade Point Is A-");
}
else if(marks>=50&&marks<=59){
printf("Your Grade Point Is B");
}
else if(marks>=40&&marks<=49){
printf("Your Grade Point Is C");
}
else if(marks>100){
printf("Please Enter Between 0-100, Valid Marks");
}
else{
printf("Your Grade is F");
}
}
Result:
//Mark sheet
#include<stdio.h>
int main(){
int marks;
printf("Enter A Valied Marks: ");
scanf("%d",&marks);
if(marks>=80&&marks<=100){
printf("Your Grade Point Is A+");
}
else if(marks>=70&&marks<=79){
printf("Your Grade Point Is A");
}
else if(marks>=60&&marks<=69){
printf("Your Grade Point Is A-");
}
else if(marks>=50&&marks<=59){
printf("Your Grade Point Is B");
}
else if(marks>=40&&marks<=49){
printf("Your Grade Point Is C");
}
else if(marks>100){
printf("Please Enter Between 0-100, Valid Marks");
}
else{
printf("Your Grade is F");
}
}
Result:
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন