The title states it all. I cant see what i am doing incorrect here. I am trying to learn how to use this correctly but im getting an output of 1.14. Can someone help me with this. thank you.
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int ppl, candy;
double candy_per_person;