Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Remainder of float numbers:

Program which find the remainder of float 

numbers: 
This function is the same as the modulus operator. But fmod() performs floating point divisions

#include
#include
#include
using namespace std;
int main()
{
cout getch();
return 0;
}

OUTPUT:
fmod of 3.14/2.1 is 1.04
remainder of float numbers:


This post first appeared on AR Programming, please read the originial post: here

Share the post

Remainder of float numbers:

×

Subscribe to Ar Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×