Question: Convert this code from Fortran to C ++ implicit real*8 (a-n,o-z) implicit integer*4 (i-n) parameter (Nm-1000) dimension x (Nm) , y (Nm) isk dosyasindan veriler

Convert this code from Fortran to C ++  Convert this code from Fortran to C ++ implicit real*8 (a-n,o-z)

implicit real*8 (a-n,o-z) implicit integer*4 (i-n) parameter (Nm-1000) dimension x (Nm) , y (Nm) isk dosyasindan veriler okunuyo open (1, file-'D:/veri/sayi.txt',statu s-'unknown') 1 read (1, *, end-2) x (i),y (i) i=i+1 goto 1 2 close (1) belirleniyor veriler ekrana yazdarlyor N=1-1 ! satr says Disk dosyasindan okutulan do j-1, N write (*, 3) x (j),y (j) end do 3 format (1x,2(f9.3,2x) end Okutulan veriler say1.txt) 0.000 1.000 2.000 3.000 4.000 5.000 6.000 7.000 8.000 Fornatla akti 0.000 1.000 11.000 9.000 21.000 33.000 2.000 14.000 19.000 21 14 19

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!