Code: #include <iostream> #include <conio.h> using namespace std; int main() { int count = 0; char input; cout << "--------------------------" << endl; cout << " Counter " << endl; cout << "--------------------------" << endl; cout << endl; cout << "Press 1 to counter" << endl; cout << "Press 0 to quit" << endl; cout << endl; cout << "Enter the number continuously : "; while (true) { input = getch(); if (input == '1') { count += 1; cout << "Your counts are " << count << endl; ...
I am Cyber Security student in Air University, Islamabad. I upload different codes and their results of C++ and Bash scripting and some other cyber projects and hacking with its proof. I am innovative of mind and dextrous of hand.
Comments
Post a Comment