{"id":40,"date":"2017-09-11T13:06:19","date_gmt":"2017-09-11T16:06:19","guid":{"rendered":"http:\/\/www.professores.uff.br\/diomarcesarlobao\/?page_id=40"},"modified":"2017-09-11T13:06:19","modified_gmt":"2017-09-11T16:06:19","slug":"add-f","status":"publish","type":"page","link":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/add-f\/","title":{"rendered":"add.f"},"content":{"rendered":"<pre>program add\r\nc\r\nc       John Mahaffy,  Penn State University, CmpSc 201 Example\r\nc       1\/26\/96\r\nc\r\nc\r\nc   This is a simple program to read 2 numbers and print the sum\r\nc\r\n      implicit none\r\n      real a,b,s\r\nc\r\nc   a - one of two numbers to be added\r\nc   b - the other number in the sum\r\nc   s - the sum of a and b\r\nc\r\nc  Get the numbers from the program user\r\nc  First ask for the numbers\r\nc\r\n      print *, ' This program adds 2 real numbers'\r\n      print *, ' Type them in now separated by a comma or space'\r\nc\r\nc   Now read the numbers that are typed by the user\r\nc   this Fortran read will wait unil the numbers are typed\r\nc\r\n      read *, a,b\r\nc\r\nc   Now calculate the sum\r\nc\r\n      s = a + b\r\nc\r\nc   Print out the results with a description\r\nc\r\n      print *,  'The sum of ', a,' and ' , b\r\n      print *, ' is ' , s\r\n      stop\r\n      end<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>program add c c John Mahaffy, Penn State University, CmpSc 201 Example c 1\/26\/96 c c c This is a simple program to read 2 numbers and print the sum c implicit none real a,b,s c c a &#8211; one of two numbers to be added c b &#8211; the other number in the sum [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[],"tags":[],"class_list":["post-40","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":1,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/40\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/40\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}