Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Whole program
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
>#arithmetic expressions >285 [1]285 >2*5 [1]10 >6/2 [1] 3 >2^4 [1] 16 >exp(2) [1] 7.389056 >exp(3) [1]20.08554 > >(5+5)/2 [1]5 > > >Svp Mca Error : unexpected symbol in " Svp mca " > >print(svp mca dept) [1] "svp mca dept" > > >value assignment Error : unexpected symbol in " value assignment " > ># value assignment > >a=6 >b=4 >a+b [1]10 > c*a-b >print (c) [1]2 > >a+b [1]10 >c=a-b >print (c) [1]2 > > >#Otherway > >a->20 Error in 20<-a : invalid (do-set) left hand side to assignment >a<-20 >b<-10 > >a+b [1]30 To clear the screen ctrl+L Error : unexpected symbol in "To Clear" >#To clear the screen ctrl+L > >#suppose p=54 and value type example > >p=54 >p [1]54 > >class [p] [1] " numeric " > >p=54 >class(p) [1] "numeric" > > >#the p is stored as decimal not integer > >is integer(p) [1]FALSE > > >#use like this we will get it as integer > >p<-as integer(54) > is integer(p) [1]TRUE > ># check the difference
[
+
]
Show input
Absolute running time: 0.41 sec, cpu time: 0.75 sec, memory peak: 36 Mb, absolute service time: 0,66 sec
edit mode
|
history
|
discussion
Error(s), warning(s):
Error: unexpected '>' in ">" Execution halted