By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,334 Members | 2,776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,334 IT Pros & Developers. It's quick & easy.

"f" is an assigned value that is never used

P: 1
int a,b,f;
cout<<"enter two numbers";
cin>>a>>b;
f=(a+b)/2;
cout<<"average="<<f;


what does it mean by assigned value that is never used?
Jul 8 '17 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197
I have no idea. There is no such error using Visual Studio 2013
Jul 8 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.