第二张 例2.3

#include<iostream>
using namespace std;
#define PRICE 30

int main()
{
    int num,total;
    num=10;
    total=num*PRICE; 
    cout<<"total="<<total<<endl;
    return 0; 
}

 

posted @ 2017-09-13 12:56  TOTO2  阅读(143)  评论(0编辑  收藏  举报