I have a structured a program that collects data from the user, then calls void function, this void function then calls 3 different value returning functions.
My question is am i able to get decimals on my output because I can't find a way to do it correctly, i already tried setprecision within the functions as well as in the void function...
right now i get no decimal points in my output, i want to have one decimal point on the first 3 outputs..
Any help would be appreciated
1 2 3 4 5 6 7 8
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
using std::ios;
I've tried to add it into the void statement but i still end up with more than desired extra decimal points. Also tried adding setprecision within the value returning functions and cout'ing them but still get the same outcome.