When I use % operator on float values I get error stating that \"invalid operands to binary % (have ‘float’ and ‘double’)\".I want to enter the integers value only but the n
If you want to use an int use long long, don't use a format that is non-ideal for your problem if a better format exists.