例子2.3

#include<iostream>
using namespace std;
#define price 40
int main() {
   int num,total;
   num=10;
   total=num*price;
   cout<<"total="<<total<<endl;
   return 0;
}

 

 

 

posted on 2017-09-14 09:41  三叶癌  阅读(72)  评论(0)    收藏  举报

导航