fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int Number;
  6. char character;
  7. cout<<"please enter a Number\n";
  8. cin>>Number;
  9. cout<<"please enter a character \n";
  10. cin>>character;
  11. cout<<"your number is = "<<Number<<endl;
  12. cout<<"your character is "<<character<<endl;
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5284KB
stdin
30
A
stdout
please enter a Number
please enter a character 
your number is = 30
your character is A