F*U*R*B*Y* commented on a Page, C++ variable use  -  Aug 26, 2008

uh,

    cout << "Type a number. ";
    cin >> z;

    cout << "Type another. ";
    cin >> x;

    z = x*y;

that's just going to do

z = x*

as y isn't being set

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.