char grade;
cin>>grade;
if(grade == "A"){
multOfGradeHour += 4.0*creditHour;
}
compare problem I checked at google but did not found any good solution. when i enter code here run this code compiler shows me an error.c++ forbids comparison between pointers and integer.i don't understand this because i know nothing about pointers.i tried many things but i did not find any solution for this.anyone who know what to do?