// cin 和 scanf() 有何不同

#include <iostream>
#include <cstdlib>

using namespace std;
// ----------------------------------------------

int main(int argc, char *argv[])
{
	int a, b;
	double x, y;
	
	cout << " a, b= ? " << endl;
	cin >> a >> b;
	
	cout << "\n a= " << a << ", b= " << b << endl;
	cout << " a/b= " << (a/b) << endl;
	system("pause");
	// ----------------------------------------------

	cout << "\n x, y= ? " << endl;
	cin >> x >> y;
	
	cout << "\n x= " << x << ", y= " << y << endl;
	cout << " x/y= " << (x/y) << endl;
	system("pause");
	
	return(0);
}// end of main()
