Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Bài 2: In ra số kế tiếp của số nguyên X
- #include <iostream>
- using namespace std;
- int main()
- {
- int x;
- int a;
- cout << "Nhap vao x: ";
- cin >> x;
- a = x++;
- cout << "So ke tiep cua " << x << " la: " << a << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment