First, learn how to indent code.


#include <stdio.h>
#include <math.h>
#include <stdlib.h>
main()
{
double total, f;
int n, user, c;