<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Pk High files</title>
		<link>http://www.highfile.ucoz.com/</link>
		<description>Forum</description>
		<lastBuildDate>Mon, 24 Apr 2017 17:42:55 GMT</lastBuildDate>
		<generator>uCoz Web-Service</generator>
		<atom:link href="https://highfile.ucoz.com/forum/rss" rel="self" type="application/rss+xml" />
		
		<item>
			<title>How use Subroutines in fortran</title>
			<link>https://highfile.ucoz.com/forum/15-86-1</link>
			<pubDate>Mon, 24 Apr 2017 17:42:55 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: How use Subroutines in fortran&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: boudouhissam&lt;br /&gt;Number of replies: 1</description>
			<content:encoded>﻿&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;program swapmain &lt;br /&gt; implicit none &lt;br /&gt; real :: a, b &lt;br /&gt; ! Read in two values &lt;br /&gt; read(*,*&amp;#41; a, b &lt;br /&gt; call swap(a,b&amp;#41; &lt;br /&gt; write(*,*&amp;#41; a,b &lt;br /&gt; contains &lt;br /&gt; subroutine swap(x, y&amp;#41; &lt;br /&gt; real :: x, y, temp &lt;br /&gt; temp = x &lt;br /&gt; x = y &lt;br /&gt; y = temp &lt;br /&gt; end subroutine swap &lt;br /&gt; end program swapmain&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-86-1</guid>
		</item>
		<item>
			<title>Dato-Code installation guide</title>
			<link>https://highfile.ucoz.com/forum/2-93-1</link>
			<pubDate>Fri, 17 Apr 2015 06:32:59 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/2&quot;&gt;Codeing&lt;/a&gt;&lt;br /&gt;Thread description: Graphlab Create Simple Installation Guide&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: acdsee7447&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>&lt;b&gt;Simple Installation&lt;/b&gt; &lt;br /&gt; 1.  GenerateDato-code key  and get code , example &lt;br /&gt; like that &lt;a class=&quot;link&quot; target=&quot;_blank&quot; href=&quot;http://u.to/tjAOCw&quot; title=&quot;https://dato.com/products/create/quick-start-guide.html&quot; rel=&quot;nofollow&quot;&gt;https://dato.com/products/create/quick-start-guide.html&lt;/a&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;(mkdir-p ~/.graphlab &amp;&amp; &amp;#91;b]echo -e &amp;#91;font=Source]&amp;#91;color=#486600]&quot;&amp;#91;Product]&amp;#92;nproduct_key=&amp;#91;b]unique-key&quot; &gt; ~/.graphlab/config&amp;&amp; &amp;#91;b]echo &quot;Configuration file written&quot;&amp;#41; || &amp;#91;b]echo &quot;Configurationfile not written&quot;&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;br /&gt; 2.     execute python -V in terminal , if version 2.7.x available then okay , else &lt;br /&gt; 3.    sudoapt-get update &lt;br /&gt; 4.    sudoapt-get install python-pip &lt;br /&gt; 5.   &lt;b&gt;sudo&lt;/b&gt; pip installgraphlab-create==1.3 &lt;br /&gt; 6.    &lt;b&gt;checkpython version and run python&lt;/b&gt; python –V &lt;br /&gt; 7.   &lt;b&gt;run python : python  hit enter&lt;/b&gt; &lt;br /&gt; 8.    &lt;b&gt;Now runfollowing command and test it &lt;br /&gt; &lt;a class=&quot;link&quot; target=&quot;_blank&quot; href=&quot;http://u.to/tTAOCw&quot; title=&quot;https://dato.com/learn/gallery/notebooks/five_line_recommender.html&quot; rel=&quot;nofollow&quot;&gt;https://dato.com/learn/gallery/notebooks/five_line_recommender.html&lt;/a&gt; &lt;/b&gt; &lt;br /&gt;&lt;br /&gt; If you facing problem in installing pip command following these code &lt;br /&gt;&lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;&amp;#91;b]$sudo apt-get install python-pip python-dev build-essential&amp;nbsp;&amp;nbsp;&lt;br /&gt; &amp;#91;b]$ sudo pip install --upgrade pip &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;#91;b]$ sudo pip install --upgrade virtualenv&amp;nbsp;&amp;nbsp;&lt;br /&gt; &amp;#91;b]$ sudo apt-get update &lt;br /&gt; &amp;#91;b]$ sudo apt-get install gcc g++ build-essential libopenmpi-dev openmpi-bin default-jdk cmake zlib1g-dev git&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;br /&gt;&lt;br /&gt; I hope its help , please post comment and ask question if you have any issue . &lt;br /&gt;&lt;br /&gt; Thanks</content:encoded>
			<category>Codeing</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/2-93-1</guid>
		</item>
		<item>
			<title>Bring your idea in New SWM</title>
			<link>https://highfile.ucoz.com/forum/3-92-1</link>
			<pubDate>Wed, 13 Aug 2014 11:37:46 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/3&quot;&gt;Wel Come&lt;/a&gt;&lt;br /&gt;Thread description: Post your Idea that you want to look in new Swm&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>Hello Everyone, &lt;br /&gt;            Please post your useful idea in the section to improve the SWM functionality and usability.</content:encoded>
			<category>Wel Come</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/3-92-1</guid>
		</item>
		<item>
			<title>Download Self Study Pdf for FORTRAN 90</title>
			<link>https://highfile.ucoz.com/forum/15-88-1</link>
			<pubDate>Sat, 05 Apr 2014 09:51:51 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: Download Self Study Pdf for FORTRAN 90&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>Download File, &lt;br /&gt; For Learning FORTRAN Language</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-88-1</guid>
		</item>
		<item>
			<title>Local and global variables in fortran</title>
			<link>https://highfile.ucoz.com/forum/15-87-1</link>
			<pubDate>Sat, 05 Apr 2014 09:49:46 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: How use Local and global variables in fortran&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>﻿&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;program set &lt;br /&gt; implicit none &lt;br /&gt; real :: a, b &lt;br /&gt; ! Read in value of a &lt;br /&gt; read(*,*&amp;#41; a &lt;br /&gt; call setval(b&amp;#41; &lt;br /&gt; write(*,*&amp;#41; b &lt;br /&gt; contains &lt;br /&gt; subroutine setval(x&amp;#41; &lt;br /&gt; real :: x &lt;br /&gt; x = a ! value of a is from main program &lt;br /&gt; end subroutine setval &lt;br /&gt; end program set&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-87-1</guid>
		</item>
		<item>
			<title>Use Functions in Fortran</title>
			<link>https://highfile.ucoz.com/forum/15-85-1</link>
			<pubDate>Sat, 05 Apr 2014 09:47:23 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: Use Functions in Fortran&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>﻿&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;program newton &lt;br /&gt; ! &lt;br /&gt; ! Solves f(x&amp;#41; = 0 by Newton’s method &lt;br /&gt; ! &lt;br /&gt; implicit none &lt;br /&gt; integer :: its = 0 ! iteration counter &lt;br /&gt; integer :: maxits = 20 ! maximum iterations &lt;br /&gt; integer :: converged = 0 ! convergence flag &lt;br /&gt; real :: eps = 1.0e-6 ! maximum error &lt;br /&gt; real :: x = 2 ! starting guess &lt;br /&gt; ! introduce a new form of the do loop &lt;br /&gt; do while (converged == 0 .and. its &lt; maxits&amp;#41; &lt;br /&gt; x = x - f(x&amp;#41; / df(x&amp;#41; &lt;br /&gt; write(*,*&amp;#41; x, f(x&amp;#41; &lt;br /&gt; its = its + 1 &lt;br /&gt; if (abs(f(x&amp;#41;&amp;#41; &lt;= eps&amp;#41; converged = 1 &lt;br /&gt; end do &lt;br /&gt; if (converged == 1&amp;#41; then &lt;br /&gt; write(*,*&amp;#41; ’Newton converged’ &lt;br /&gt; else &lt;br /&gt; write(*,*&amp;#41; ’Newton did not converge’ &lt;br /&gt; end if &lt;br /&gt; contains &lt;br /&gt; function f(x&amp;#41; &lt;br /&gt; real :: f, x &lt;br /&gt; f = x**3 + x - 3.0 &lt;br /&gt; end function f &lt;br /&gt; function df(x&amp;#41; &lt;br /&gt; ! first derivative of f(x&amp;#41; &lt;br /&gt; real :: df, x &lt;br /&gt; df = 3 * x**2 + 1 &lt;br /&gt; end function df &lt;br /&gt; end program newton&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-85-1</guid>
		</item>
		<item>
			<title>Plotting a data file</title>
			<link>https://highfile.ucoz.com/forum/15-84-1</link>
			<pubDate>Sat, 05 Apr 2014 09:46:06 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: Plotting a data file&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>﻿&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;program outputdata &lt;br /&gt; implicit none &lt;br /&gt; real, dimension(100&amp;#41; :: x, y &lt;br /&gt; integer :: i &lt;br /&gt; ! setup x and y with some data &lt;br /&gt; do i=1,100 &lt;br /&gt; x(i&amp;#41; = i * 0.1 &lt;br /&gt; y(i&amp;#41; = sin(x(i&amp;#41;&amp;#41; * (1-cos(x(i&amp;#41;/3.0&amp;#41;&amp;#41; &lt;br /&gt; end do &lt;br /&gt; ! output data to a file &lt;br /&gt; open(1, file=’data1.dat’, status=’new’&amp;#41; &lt;br /&gt; do i=1,100 &lt;br /&gt; write(1,*&amp;#41; x(i&amp;#41;, y(i&amp;#41; end do &lt;br /&gt; close(1&amp;#41; &lt;br /&gt; end program outputdata&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-84-1</guid>
		</item>
		<item>
			<title>How use Arrays in Fortran</title>
			<link>https://highfile.ucoz.com/forum/15-83-1</link>
			<pubDate>Sat, 05 Apr 2014 09:44:13 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: Simple program for array&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;program linalg &lt;br /&gt; implicit none &lt;br /&gt; real :: v1(3&amp;#41;, v2(3&amp;#41;, m(3,3&amp;#41; &lt;br /&gt; integer :: i,j &lt;br /&gt; v1(1&amp;#41; = 0.25 &lt;br /&gt; v1(2&amp;#41; = 1.2 &lt;br /&gt; v1(3&amp;#41; = 0.2 &lt;br /&gt; ! use nested do loops to initialise the matrix &lt;br /&gt; ! to the unit matrix &lt;br /&gt; do i=1,3 &lt;br /&gt; do j=1,3 &lt;br /&gt; m(j,i&amp;#41; = 0.0 &lt;br /&gt; end do &lt;br /&gt; m(i,i&amp;#41; = 1.0 &lt;br /&gt; end do &lt;br /&gt; ! do a matrix multiplication of a vector &lt;br /&gt; ! equivalent to v2i = mij v1j &lt;br /&gt; do i=1,3 &lt;br /&gt; v2(i&amp;#41; = 0.0 &lt;br /&gt; do j = 1,3 &lt;br /&gt; v2(i&amp;#41; = v2(i&amp;#41; + m(i,j&amp;#41;*v1(j&amp;#41; &lt;br /&gt; end do &lt;br /&gt; end do &lt;br /&gt; write(*,*&amp;#41; ’v2 = ’,v2 &lt;br /&gt; end program linalg&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;&lt;!--uzquote--&gt;&lt;div class=&quot;bbQuoteBlock&quot;&gt;&lt;div class=&quot;bbQuoteName&quot; style=&quot;padding-left:5px;font-size:7pt&quot;&gt;&lt;b&gt;Quote&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;quoteMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzq--&gt;program vector &lt;br /&gt; implicit none &lt;br /&gt; real :: v(3) &lt;br /&gt; real :: x &lt;br /&gt; integer :: i &lt;br /&gt; v(1) = 0.25 &lt;br /&gt; v(2) = 1.2 &lt;br /&gt; v(3) = 0.2 &lt;br /&gt; ! compute the modulus squared of the vector &lt;br /&gt; x = 0.0 &lt;br /&gt; do i=1,3 &lt;br /&gt; x = x + v(i)*v(i) &lt;br /&gt; end do &lt;br /&gt; write(*,*) ’Modulus squared = ’,x &lt;br /&gt; end program vector&lt;!--/uzq--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzquote--&gt;</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-83-1</guid>
		</item>
		<item>
			<title>Computes factorials in fortran</title>
			<link>https://highfile.ucoz.com/forum/15-82-1</link>
			<pubDate>Sat, 05 Apr 2014 09:42:03 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: Simple computes factorials&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>﻿&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;program factorial &lt;br /&gt; implicit none &lt;br /&gt; ! define variables, some with initial values &lt;br /&gt; integer :: nfact = 1 &lt;br /&gt; integer :: n &lt;br /&gt; ! compute factorials &lt;br /&gt; do n = 1, 10 &lt;br /&gt; nfact = nfact * n &lt;br /&gt; write(*,*&amp;#41; n, nfact &lt;br /&gt; end do &lt;br /&gt; end program factorial&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-82-1</guid>
		</item>
		<item>
			<title>Logical controls</title>
			<link>https://highfile.ucoz.com/forum/15-81-1</link>
			<pubDate>Sat, 05 Apr 2014 09:40:48 GMT</pubDate>
			<description>Forum: &lt;a href=&quot;https://highfile.ucoz.com/forum/15&quot;&gt;FORTRAN 90&lt;/a&gt;&lt;br /&gt;Thread description: Simple Logical controls program&lt;br /&gt;Thread starter: pradeep&lt;br /&gt;Last message posted by: pradeep&lt;br /&gt;Number of replies: 0</description>
			<content:encoded>﻿&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;program tripos1 &lt;br /&gt; implicit none &lt;br /&gt; real :: p1, p2, p3, maths &lt;br /&gt; real :: av1, av2 &lt;br /&gt; ! read in the marks &lt;br /&gt; read(*,*&amp;#41; p1, p2, p3, maths &lt;br /&gt; ! work out two averages &lt;br /&gt; av1 = p1 + p2 + p3 &lt;br /&gt; av2 = av1 + maths &lt;br /&gt; av1 = av1 / 3.0 ; av2 = av2 / 4.0 &lt;br /&gt; ! use an if statement &lt;br /&gt; if (av2 &gt; av1&amp;#41; then &lt;br /&gt; write(*,*&amp;#41; ’Final average = ’,av2 &lt;br /&gt; else &lt;br /&gt; write(*,*&amp;#41; ’Final average = ’,av1 &lt;br /&gt; end if &lt;br /&gt; end program tripos1&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>FORTRAN 90</category>
			<dc:creator>pradeep</dc:creator>
			<guid>https://highfile.ucoz.com/forum/15-81-1</guid>
		</item>
	</channel>
</rss>