
#include <syslib.h> |
#include <math.h> |
main() |
{ |
clrscr(); // clear screen |
textmode ( 0x00 ); // 6 lines per LCD screen |
printf ( "3^2+4^2=%.0f^2\n",hypot ( 3.,4. ) ); |
printf ( "3.2^2+4.3^2=%.2f^2",hypot ( x,y ) ); |
getchar(); |
return 0; |
} |



