ok thanks and i got the code part
cout << setiosflags( ios::fixed | ios::showpoint ) im just asking where should i place it and do i have to
setprecision( 2 ) for every result or just one?
Type: Posts; User: 123456tacos
ok thanks and i got the code part
cout << setiosflags( ios::fixed | ios::showpoint ) im just asking where should i place it and do i have to
setprecision( 2 ) for every result or just one?
Oh and where should i put
setprecision( 2 )
Ok i got it working but its giving me the wrong answer For example if i enter product 2 and sold 2 i get $2.50
Ok this is my revised code i get a error saying that QuantitySold cant be used as a function and sorry about not spacing my code in the OP
#include<iostream>
#include <iomanip.h>
using...
I need help with with my hw. The code bellow is what i have so far but i still need to this part which i cant figure out .
>>>>>If the quantity sold for the product is over 10, then 10% off is...