#include <iostream>
#include <chrono>
#include <thread>
int main() {
// Set the delay duration in milliseconds
int delayMilliseconds = 1000;
// Convert milliseconds to std::chrono::milliseconds
std::chrono::milliseconds delayDuration(delayMilliseconds);
// Introduce a delay using std::this_thread::sleep_for with the calculated duration
std::this_thread::sleep_for(delayDuration);
// Output a message after the delay
std::cout << "Delay of " << delayMilliseconds << " milliseconds completed." << std::endl;
return 0;
}