/** * $Id:$ * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * * The contents of this file may be used under the terms of either the GNU * General Public License Version 2 or later (the "GPL", see * http://www.gnu.org/licenses/gpl.html ), or the Blender License 1.0 or * later (the "BL", see http://www.blender.org/BL/ ) which has to be * bought from the Blender Foundation to become active, in which case the * above mentioned GPL option does not apply. * * The Original Code is Copyright (C) 2002 by NaN Holding BV. * All rights reserved. * * The Original Code is: all of this file. * * Contributor(s): none yet. * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* struct.c */ void main(int argc, char **argv) { int a; float saldo=0, inleg=12253, rente=1.06; for(a=0; a<25; a++) { saldo*= rente; saldo+= inleg; } printf("saldo: %f\n", saldo); if (argc!=3) { printf ("usage: struct \n"); exit(0); } findstruct_ext(argv[1], argv[2]); }