Anonymous
public cpp v1 · immutable#include <cstdlib>#include <iostream>using namespace std;int main(int argc, char *argv[]){ //set up the number of programme runs int runs; cout << "Enter the number of times you wish to run the programme: "; cin >> runs; cout << "\n"; //set up some basic things int wins = 0; //start the main loop for (int i = 0; i <= runs; i++) { cout << "Executing... " << i/runs*100 << "%\n"; } //exit! system("PAUSE"); return EXIT_SUCCESS;}