First and foremost, I do not know anything about C++. I am currently trying to learn it so please go very easy on me.

My script is taking two fractions which the user defines, then it takes the fractions and makes them into decimals.

Here's what I have:

Code:#include <iostream> using namespace std; int main () { int num1, num2, denom1, denom2, dec1, dec2 ; cout << "Please enter first numerator: " ; cin >> num1 ; cout << "Please enter first denominator: " ; cin >> denom1 ; cout << "Please enter second numerator: " ; cin >> num2 ; cout << "Please enter second denominator: " ; cin >> denom2 ; dec1 = num1 / denom1 ; dec2 = num1 / denom1 ; cout << "Decimal of Fraction 1 & 2: " ; cout << dec1 ; cout << dec2 "/n" ; return 0; }

Help? And please, understand I am VERY VERY new to this.