Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Comparison of three numbers
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
Program comparison Implicit none Real a,b,c a=6.0 b=7.0 c=2.0 If(a .gt. b) then If(a .gt. c) then Write(*,*)"a is greater", a else Write(*,*)"c is greater", c endif else If(b .gt. c) then Write(*,*)"b is greater", b else Write(*,*)"c is greater", c endif endif End Program comparison
Show compiler warnings
[
+
]
Show input
edit mode
|
history
|
discussion