i started learning about void functions and i want to make sure i do my homework right.
i need to modify a program so that it uses 2 void functions. one to determine fat calories and the other to determine fat percentage.
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
//declare variables
int totalCals = 0;
int fatGrams = 0;
int fatCals =0;
double fatPercent = 0.0;