Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Me3.1
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
'Rextester.Program.Main is the entry point for your code. Don't change it. 'Compiler version 11.0.50709.17929 for Microsoft (R) .NET Framework 4.5 Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Text.RegularExpressions Namespace Rextester Public Module Program Public Sub Main(args() As string) 'Your code goes here Dim rnd as New Random Dim Mood as integer = rnd.Next(1,6) If Mood = 1 then Console.WriteLine("☹️") Console.WriteLine("your ME is unhappy") End If If Mood = 2 then Console.WriteLine("🤒") Console.WriteLine("Your ME is sick") End If If Mood = 3 then Console.WriteLine("😑") Console.WriteLine("Your ME is bored") End If If Mood = 4 then Console.WriteLine("😃") Console.WriteLine("your ME is happy") End If If Mood = 5 then Console.WriteLine("☠️") Console.WriteLine("your ME is dead") End If End Sub End Module End Namespace
Show compiler warnings
[
+
]
Show input
Compilation time: 0,2 sec, absolute running time: 0,11 sec, cpu time: 0,11 sec, average memory usage: 13 Mb, average nr of threads: 3
edit mode
|
history
|
discussion
😃 your ME is happy