Hi every one i need help with my code, i believe that i have everything in order but just to be sure, I wanted another opinion, also i need help in trying to get the if/else statements right because they are the whole purpose of this exercise hopefully its easy to tell what I'm doing simply by looking at it but just in case i need which every # i key in to follow the properties of the if/else statements. i would really appreciate it if some one could go about a brief tutorial of this because my teacher does a horrible job of showing an introductory class how to program and my book is a tad bit too descriptive when comes to trying to comprehend (if you know what i mean) but please feel free to criticize as it will greatly help me out
Thank you.
#include <iostream>
#include <iomanip>
using namespace std;
I'm not familiar with the structure of your if else statements. ( Maybe that's valid? )
I'd stick to the old way of:
1 2 3 4 5 6 7 8 9 10
if ( condition )
do something 1;
elseif ( condition2 )
do something 2;
elseif ( condition3 ){
bracket here since 2 lines;
do something 3;
}
else
welp none of them happened;