|
-
October 21st, 2003, 10:15 AM
#1
c++ issue(urgent)
Rone is float.
cout << "Enter R1 of Delta Network" <<"\n";
cin >> Rone;
if(Rone>0)
{
}
else
{
cout<< "R1 does not accept zero ,negative and character values";
cout << "Enter R1 of Delta Network" <<"\n";
cin >> Rone;
}
My mistake if i press any character it's going into the loop.It's not stopping.How to solve this problem.
Thanks and regards,
Mala
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|