c++ #define

c++ #define

#include <iostream>
using namespace std;

#define LENGTH 10   
#define WIDTH  5
#define NEWLINE '\n'

int main()
{

   int area;

   area = LENGTH * WIDTH;
   cout << area;
   cout << NEWLINE;
   return 0;
}

posted on 2019-03-13 11:18 luoganttcc 阅读(...) 评论(...) 编辑 收藏

posted @ 2022-08-19 22:54  luoganttcc  阅读(3)  评论(0)    收藏  举报