-
Notifications
You must be signed in to change notification settings - Fork 1
/
program.mino
31 lines (31 loc) · 1.06 KB
/
program.mino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import dotnet; //import platform
using System; //use namespace System
using TokensBuilder; //use namespace from compiler for test
using TokensStandart; //use namespace for standart functions for Mino
namespace com.snaulX.Mino; //create namespace but it don`t will working becouse main class cannot have namespace
var Int32 a, b;
a = 100;
b = 1000;
Console.WriteLine(a);
var String text;
text = "Hello Mino";
Console.WriteLine("Start Program");
Console.WriteLine(text);
text = "Write number for search cosinus: ";
Console.Write(text);
Console.WriteLine(Math.Cos(Convert.ToInt32(Console.ReadLine())));
System.Threading.Thread.Sleep(b);
Console.WriteLine("Enter 'hello' word")
while (Console.ReadLine() != "hello") {
Console.WriteLine("WRONG WORD");
} //while loops is working
do {
Console.Write("Enter number that not equals 100 - 50: ");
} while (Convert.ToInt32(Console.ReadLine()) != 50);
Console.WriteLine("Press any key to close program");
Console.ReadKey(false);
// Context.CreateAssembly(true);
class MyClass {
public var String fld;
private final var Generator gen;
}