Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
evaluation
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
!gfortran, gcc version 7.4.0 program hello implicit none integer::n real::s=0.0,m=1.0,i n=10; do i=1,n s=s+(sqrt(i))/(i**2+1); end do print'(A15)','summation value :' print*,s do i=1,n m=m*((i-1)**2)/(sqrt(i)); end do print'(A15)','product value :' print*,m end program hello
Show compiler warnings
[
+
]
Show input
Compilation time: 0.13 sec, absolute running time: 0.16 sec, cpu time: 0 sec, memory peak: 5 Mb, absolute service time: 0,46 sec
edit mode
|
history
|
discussion
summation value 1.39022410 product value : 0.00000000