Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
program TEST integer ans do read (*,*) ans if (ans.eq.42) stop write (*,*) ans enddo stop end
-
1
-
1 2 3 4 5 6 7 8
real a, b, pole write(*,*) 'Podaj a' a=2 write(*,*) 'Podaj b' b=5 pole = a*b write(*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write(*,*) 'Podaj a' read (*,*) a write(*,*) 'Podaj b' read (*,*) b pole = a*b write(*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write(*,*) 'Podaj a' read (*,*) a write(*,*) 'Podaj b' read (*,*) b pole = a*b write(*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write(*,*) 'Podaj a' read (*,*) a write(*,*) 'Podaj b' read (*,*) b pole = a*b write(*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write(*,*) 'Podaj a' read (*,*) a write(*,*) 'Podaj b' read (*,*) b pole = a*b write(*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write(*,*) 'Podaj a' read(*,*) a write(*,*) 'Podaj b' read(*,*) b pole = a*b write(*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write(*,*) 'Podaj dlugosc boku a' read(*,*) a write(*,*) 'Podaj dlugosc boku b' read(*,*) b pole = a*b write(*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write (*,*) 'Podaj dlugosc boku a:' read (*,*) a write (*,*) 'Podaj dlugosc boku b:' read (*,*) b pole = a*b write (*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write (*,*) 'Podaj dlugosc boku a:' read (*,*) a write (*,*) 'Podaj dlugosc boku b:' read (*,*) b pole = a*b write (*,*) 'Pole = ', pole end
-
1 2 3 4 5 6 7 8
real a, b, pole write (*,*) 'Podaj dlugosc boku a:' read (*,*) a write (*,*) 'Podaj dlugosc boku b:' read (*,*) b pole = a*b write (*,*) 'Pole = ", pole end
-
1 2
write(*,*) 'podaj n' end
-
1
write(*,*) 'podaj n'
-
1 2 3 4 5
program TEST real ans, rr read (*,*) ans rr=ans+9 end
-
1 2 3 4 5 6 7 8 9
program TEST integer ans do read (*,*) ans if (ans.eq.42) stop write (*,*) ans enddo stop end
-
1 2 3 4 5
program TEST integer ans read (*,*) ans rr=ans+7 end
-
1 2 3 4 5 6 7 8 9
PROGRAM test integer i,j,k,tot integer , DIMENSION(5) :: a do i=1,5 a(i)=i end do j=1 k=5 tot = 0.
...
-
1 2 3 4 5 6 7 8 9
PROGRAM test integer i,j,k,tot integer , DIMENSION(5) :: a j=1 k=5 tot = 0. DO i = j, k tot = tot + a(i) END DO
...
-
1 2 3 4 5 6 7 8 9
PROGRAM test integer i,j,k,tot j=10 k=20 tot = 0. DO i = j, k tot = tot + a(i) END DO write(*,*) tot
-
1 2 3 4 5 6 7 8
PROGRAM test integer i,j,k j=10 k=20 inner: DO i = j, k, l ! from j to k in steps of l (l is optional) write(*,*) i END DO inner END PROGRAM test
-
1 2 3
PROGRAM test PRINT *, 'Hello world!' END PROGRAM test
-
1 2 3 4 5 6 7 8 9
program circle integer r, area write (*,*) 'Give radius r:' read (*,*) r area = 3.14159*r*r write (*,*) 'Area = ', area stop
-
1 2 3 4 5 6 7 8 9
program circle integer r, area write (*,*) 'Give radius r:' read (*,*) r area = 3.14159*r*r write (*,*) 'Area = ', area stop
-
1 2 3 4 5 6 7 8 9
program circle real r, area write (*,*) 'Give radius r:' read (*,*) r area = 3.14159*r*r write (*,*) 'Area = ', area stop
-
1 2 3 4 5 6 7 8 9
program circle real r, area write (*,*) 'Give radius r:' read (*,*) r area = 3.14159*r*r write (*,*) 'Area = ', area stop
-
1 2 3 4 5 6 7 8 9
program circle real r, area write (*,*) 'Give radius r:' read (*,*) r area = 3.14159*r*r write (*,*) 'Area = ', area stop
-
1 2 3 4 5 6 7 8 9
program TEST integer i, n, sum,ans sum = 0 do 10 i = 1, n sum = sum + i write(*,*) 'i =', i write(*,*) 'sum =', sum 10 continue
-
1 2 3 4 5 6 7 8 9
program TEST integer i, n, sum,ans write(*,*) 'Hey' sum = 0 do 10 i = 1, n sum = sum + i write(*,*) 'i =', i write(*,*) 'sum =', sum
...
-
1 2 3 4 5 6 7 8 9
program TEST integer ans do read (*,*) ans if (ans.eq.42) stop write (*,*) ans enddo stop end


