C++ Write a program which accepts a floating-point number as a command-line argu
ID: 3790825 • Letter: C
Question
C++ Write a program which accepts a floating-point number as a command-line argument, then delays for that number of seconds (use the usleep function). In addition, it should show a progress bar indicating the time left (which should update on a single line; use carriage return to re-print it). Your progress bar should update every quarter-second. Call the program sleep.cpp. Verify that the input is correct (it can only be non-negative integer or float). Be sure that when you call the program to distinguish it from the system program sleep MUST BE IN C++ AND NEEDS TO BE THE ACTUAL CODE