#include <stdio.h> main() { float real,user,sys,addition,entry,average; float entries; int i; addition=0; printf(“\n Entries\n”); scanf(“%f”,&entries); for (i=0;i<entries;i++) { printf("\n Entry\n"); scanf("%f",&entry); addition=addition+entry; } average=addition/entries; printf ("\nAverage Equals %f",average); }
Daily Archives: January 12, 2010
sourceinstall tune.1
1. libX11-1.1.5 2. windowswmproto-1.0.3 3. libWindowsWM-1.0.0 4. xvidcap-1.1.7 5. libXmu-1.0.4 6. libXext-1.0.4 7. libXt-1.0.5 Average Equals 11.868286 seconds [system time]
free.c
/* Work around incompatibility on older systems where free (NULL) fails. Copyright (C) 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later …
flock [-sxon] [-w timeout] lockfile [-c] command…
http://en.wikipedia.org/wiki/File_locking#Linux http://www.thinkage.ca/english/gcos/expl/c/lib/fileno.html
flock
http://en.wikipedia.org/wiki/File_locking#Linux http://www.thinkage.ca/english/gcos/expl/c/lib/fileno.html