これは私が作った最初のプログラムで、何か間違いがあったり、改善できることがあれば指摘してください.
1512 ワード
/*
2013
:
:2013-10-8
: ,
:18 35
:17
: , ,
*/
#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<" a,b :";
cin>>a>>b;
if (a>b)
c=a-b;
else
c=b-a;
cout<<" c="<<c<<endl;
return 0;
}