long double rhs - int i,j; for(i=0;i<=4;i++){...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
long double rhs (long double x){ long double f; f=pow(x, 2)-4; return f; } Int main(){ long double x, fx; scanf(“%lf”,&x); fx=rhs(x); printf(“%lf”,fx); getch(); return 0; } long double absolute_value (long double a){ long double abscheck=0; if (a<0) abscheck=-1*a; else abscheck=a; end return abscheck; } Int main(){ long double A[5][5]={0};
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: int i,j; for(i=0;i<=4;i++){ for(j=0;j<=4;j++){ printf(Enter [%d][%d]\n,i,j); scanf(%lf,&A[i][j]); } } for(i=0;i<=4;i++){ for(j=0;j<=4;j++){ printf(%lf,&A[i][j]); } } getch(); return 0; } for (i=0;i<5;i++){ for (j=0;j<6;j++){ printf( "%lf" ,C[i][j]); } }...
View Full Document

This note was uploaded on 01/09/2011 for the course ME 201 taught by Professor Yok during the Spring '08 term at Boğaziçi University.

Page1 / 2

long double rhs - int i,j; for(i=0;i<=4;i++){...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online