yeah ....there is some chemistry going on between moi finger n *dot key*..hehe
Type: Posts; User: Bilal_Rajput
yeah ....there is some chemistry going on between moi finger n *dot key*..hehe
thnx mate....i ll replace getch() by cin.get()...............thnx ..
thnx mate fer helping me out.......so if we have to store a character in a characater so we will have to put it in ' '
right.....thats where i was lacking............so thnx fer ur help......
In this program..................the problem i am facing is that.............*z* do stores the user entered character in it like *y* or *n* ................but *if (z==y) and if(z==n) isnt...
#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int grade,total=0;
float avg,a=1;
char z,y,n;
cout<<"Enter the grade of the student = ";
cin>>grade;