#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<Windows.h>
#include<conio.h>
int main(){
//welcome Heading
printf("\t\t\t``````````````````````````````````````````````````````````````\n");
printf("\t\t\t\tWelcome to The Bank Management System\n\n");
printf("\t\t\t``````````````````````````````````````````````````````````````\n\n");
//password input and validation
char pass[10],password[10]="pass";
int i;
printf("Please Enter Password....");
fflush(stdin);
gets(pass);
    if (strcmp(pass,password)==0){
        printf("WELCOME \nLoading");
        for(i=0;i<5;i++){
            printf(".");
            Sleep(1000);
        }
    }
    else{
        printf("incorrect password");
        getche();
        system("tput clear");
        system("cls");
        system("clear");
        main();
    }
return 0;
}
How to Clear screen in C programming I'm U using dev c but everything I try seems to failed I have included many different libraries but none seems to be working.
 
    