#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int a,b;
cin >> a >> b;
cout << a+b<<endl; /*相加*/
cout << a-b<<endl; /*相減*/
cout << a*b<<endl; /*相乘*/
cout << a/b<<endl; /*相除*/
cout << sqrt(a)<<endl; /*根號*/
}
--------------------------------------------------------------------------------------------------------------------------
我目前只是個大學一年級的資工生,以上有何不對的地方歡迎指教!!
沒有留言:
張貼留言