0
Write a progrm that will alow a user to ×&÷ pairs of int. Fractn & provide the resultin fraction and decimal as a double w 2deci
Sample input numerator 2 Denominator 3 (no zero allowed) Numerator 1 Denominator 2 (no zero allowed) Sample Output 2/3*1/2: the resulting fraction is 2/6 The decimal representation of 2/6 is 0.33 2/3 / 1/2: the resulting fraction is 4/3. The decimal representation of 4/3 is 1.33
1 Réponse
+ 2
Post your code