/* ------------------------------------------------------------------ */ /* Decimal Number Library Demonstration program */ /* ------------------------------------------------------------------ */ /* Copyright (c) IBM Corporation, 2001. All rights reserved. */ /* ----------------------------------------------------------------+- */ /* right margin -->| */ // example2.c -- calculate compound interest // Arguments are investment, rate (%), and years #define DECNUMDIGITS 38 // work with up to 38 digits #include "decNumber.h" // base number library #include // for printf int main(int argc, char *argv[]) { int need=3; if (argc %s\n", argv[1], argv[2], argv[3], string); } //---------------------------------------------------------------| return 0; } // main