Mega Code Archive

 
Categories / C Tutorial / Language
 

Define three variables and use assignment operator to assign value

int main()      {           int term;       /* term used in two expressions */          int term_2;     /* twice term */            int term_3;     /* three times term */          term = 3 * 5;           term_2 = 2 * term;          term_3 = 3 * term;          return (0);     }