this is my program, it works fine when asking for inputs, but as soon as i press enter for the output the window just dissapers.
Code:
#include<stdio.h>
main()
{int bno;
float sv,tax;
clrscr();
printf("\n\n\t Enter Bill Number:");
scanf("%d",&bno);
printf("\n\n\t Enter Sale Value:");
scanf("%f",&sv);
if(sv<=100000)