fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int p1;
  6. cout << "Person 1:", cin >> p1, cout << "%";
  7. cout << "You entered:" << p1;
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5308KB
stdin
12345
stdout
Person 1:%You entered:12345