I tried the program below to divide integers by integers (a, n, h etc. below) that equal C, but it does not divide correctly. Someone told me that "float C=float();" should have an epsilon somewhere. The computer language is C++. Can you tell me how to program it so it will divide properly?
#include<iostream>
#include<string>
#include<iomanip>
#include<math.h>
#include<stdio.h>
using namespace std;
int main()
{
//Start Coding Here
//Declare And Initialize The Variables
int a=int();
int h=int();
float C=float();
int n=int();
int b=int();
int q=int();