i want help to get delay between the numbers in the countdown for like 0.75 seconds for each line, i tried adding Sleep function and it says it cannot define identifier
#include<iostream>
#include<dos.h>
using namespace std;
int main()
{
float a;
cout << "Lets do a countdown, write a number:" << endl;
cin >> (a);
while (a > 0) {
cout << a << endl;
a = a--;
}
cout << "Countdown Aborted" << endl;
system("pause");
}