Here's the code:

Code:
	/*	Programming In C Assignment 4, Project 1

		Program Name: 	Mileage Calculator

		Date:			July 10th

  		Developed by:   Bryan Bucknell

		Description:  	This program will calculate  miles per 
						gallon for a car's gas tank
	*/


#include <stdio.h>

int main()
{
		int		account;	
		float	balance;		
		float	charges;
		float	credit;
		float	limit;
	
		

			while(account != -1){
			printf("Enter account number (-1 to end): ");
			scanf("%d" , &account);

			printf("Enter beginning balance: ");

		
			printf("Enter total charges: ");
			scanf("%.2f" , &charges);

			printf("Enter total credits: ");
			scanf("%.2f", &credit);

			printf("Enter credit limit: ");
				scanf(".2f", &limit);
			
			if(credit > limit){
				printf("Credit Limit Exceeded\n");
			}				
		}
		return 0;
		
}
All the enter total charges, enter credits..etc run together without waiting for input, I wondered in someone could help me sort this mess out.
Thanks,
Extro