Saturday, January 25, 2020

CPP: While loop

#include <iostream>
using namespace std;
int main()
{
int loop = 0;
while(loop < 10)
{
cout << "Loop : " << loop << endl;
loop++;
}
return 0;
}
view raw while.cpp hosted with ❤ by GitHub


To build:
$: clang++ while.cpp

Run it:
$: ./a.out

No comments:

Fedora install screen chronicle

Fedora install screen chronicle Below are links to Fedora installation screens. It is interesting to see how it has evolved over time. Fe...