Skip to content

Instantly share code, notes, and snippets.

<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><style>
.player {
position: absolute;
}
</style>
</head><body><div class="player" style="
top: 0;
left: 0;
">
<img src="./Man_files/Man.png" style="
<Window x:Class="Переводчик.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<TextBox x:Name="Exit" HorizontalAlignment="Left" Height="103" Margin="10,198,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="487"/>
<TextBox x:Name="Enter" HorizontalAlignment="Left" Height="103" Margin="10,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="487" TextChanged="Enter_TextChanged"/>
</Grid>
</Window>
Program n1;
var a:string; i:integer;
begin
writeln('Введите пароль');
while i<5 do begin
readln(a);
if a = 'password' then begin
writeln('Пароль верен!');
i:=5
end
namespace WindowsFormsApplication2
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication2
program n1;
var a, square, sum, i:integer;
begin
Readln(a);
for i:=1 to a do begin
square:= a*a;
sum:= sum+square;
a:=a-1;
end;
writeln(sum);
program n1;
var a, square, sum:integer;
begin
Readln(a);
while a>0 do begin
square:= a*a;
sum:= sum+square;
a:=a-1;
end;
writeln(sum);
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Среднее_арифметическое
{
class Program
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Бетмен_против_ниндзя
{
class Program
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Сумма_N_чисел
{
class Program
{