sleep c++

#include <iostream>
#include <chrono>
#include <thread>

int main() {
    // Sleep for 3 seconds
    std::this_thread::sleep_for(std::chrono::seconds(3));

    // Continue with the program after the sleep duration
    std::cout << "Sleep duration completed. Program continues." << std::endl;

    return 0;
}