Thanks again to all for the informative input. I think I got it now. I am now working on the next practice problem, with which I am also having difficulty.
I can't seem to figure out how to get...
Type: Posts; User: Aratel
Thanks again to all for the informative input. I think I got it now. I am now working on the next practice problem, with which I am also having difficulty.
I can't seem to figure out how to get...
Thank you :). It worked when I tried else if instead of else. Now, when I try the last part of the problem, to behave differently if they are both over 100, my code is not working using &&. Anyone...
Yes, I mean the one the site owner wrote. Here is how I attempted the problem:
#include <iostream>
using namespace std;
int main()
{
Hi,
I am new to C++ and reading through the book. I am trying all the practice problems. Could someone maybe help me out with the first practice problem at the end of chapter 4. I can't figure out...