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 @ 2019-03-13 11:18  luoganttcc  阅读(84)  评论(0编辑  收藏  举报