mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
deploy: e531b5c337
This commit is contained in:
parent
67e01c76b4
commit
02bed41d9a
554 changed files with 652 additions and 377 deletions
2
7240.js
Normal file
2
7240.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[7240],{7240:(t,n,e)=>{e.r(n),e.d(n,{default:()=>i});const i='/*\n* C# Program to Display All the Prime Numbers Between 1 to 100\n*/\n\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace VS\n{\n\tclass Program\n\t{\n\t\tstatic void Main(string[] args)\n\t\t{\n\t\t\tbool isPrime = true;\n\t\t\tConsole.WriteLine("Prime Numbers : ");\n\t\t\tfor (int i = 2; i <= 100; i++)\n\t\t\t{\n\t\t\t\tfor (int j = 2; j <= 100; j++)\n\t\t\t\t{\n\t\t\t\t\tif (i != j && i % j == 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tisPrime = false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (isPrime)\n\t\t\t\t{\n\t\t\t\t\tConsole.Write("\\t" +i);\n\t\t\t\t}\n\t\t\t\tisPrime = true;\n\t\t\t}\n\t\t\tConsole.ReadKey();\n\t\t}\n\t}\n}\n'}}]);
|
||||
//# sourceMappingURL=7240.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue