C
c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <time.h>
//I want this line of codes to be printed one by one with some time interval so that i appears to be as PROGRESSBAR(loading).....
int main() {
printf("||");
nanosleep(1000);
printf("||");
printf("||");
printf("||");
printf("||");
printf("||");
printf("||");
printf("||");
printf("||");
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run