Advertisement
Guest User

Technical Assessment

a guest
Apr 26th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include<iostream>
  2. #include<string>
  3. using namespace std;
  4.  
  5. int main(){
  6. int a, b;
  7. cout << "Enter the first number" << endl;
  8. cin >> a;
  9. cout << "Enter the second number" << endl;
  10. cin >> b;
  11. for(int i = 0; i > 0; i ++){
  12. if (a <b) {
  13. cout >> a >> endl;
  14. a++;
  15. }
  16. }
  17. system("pause");
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement