40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
|
/******************************************************************************
|
||
|
*
|
||
|
* GCI example .c file - multiply 2 numbers
|
||
|
*
|
||
|
* Module %M% Version %I% Date %H%
|
||
|
*
|
||
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
||
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
||
|
* The copyright notice above does not evidence any actual or intended
|
||
|
* publication of such source code.
|
||
|
*
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
* Maintenence log - insert most recent change descriptions at top
|
||
|
*
|
||
|
* Date.... GTAR# WHO Description.........................................
|
||
|
* 10/14/98 23801 SAP Change copyrights.
|
||
|
* 05/23/90 6933 DTW move include stuff
|
||
|
* 02/19/90 -- DTW New file
|
||
|
*
|
||
|
******************************************************************************/
|
||
|
#include <gci.h>
|
||
|
|
||
|
/*
|
||
|
* a subroutine to multiply 2 numbers and return the result
|
||
|
* arguments: 2 integers
|
||
|
* return value: integer
|
||
|
* See the GCI manual for more information.
|
||
|
*/
|
||
|
int
|
||
|
multiply(x, y)
|
||
|
int x, y;
|
||
|
{
|
||
|
int a;
|
||
|
|
||
|
a = x * y;
|
||
|
return(a);
|
||
|
}
|
||
|
|