C++ Saved Program: fragrant-mountain

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.


//This program takes a string input and checks whether its a palindrome or not
#include <iostream>
#include <thread>
#include <chrono>
using namespace std;

int main()
{
    for( char c = 'a'; c <= 'z'; ++c)
    {
        std::cout << c ;
        
        std::this_thread::sleep_for(std::chrono::milliseconds(100));
        
    }
    

    return 0;
}
Execute

Output

Press the execute button or CTRL + enter to run code.

Inputs