Я ВИЖУ СВОЙ КОМПЬЮТЕР ТАК ЧТО ОН БЕЛОГО ЦВЕТА СТОИТ НА МОЁМ НОВОМ СТОЛИКЕ ТАМ ГДЕ Я ОБЫЧНО ДЕЛАЮ ДОМАШНЕЕ ЗАДАНИЕ . ОН УМЕЕТ С ТОБОЙ РАЗГОВАРИВАТЬ И ВЫПОЛНЯТЬ ЕЩЁ МНОГО ИНТЕРЕСНЫХ ФУНКЦИЙ
Дания:) Написать в OnPaint
Canvas.FillRect(Rect(10, 10, 3 * 200 + 10, 2 * 200 + 10));
Canvas.Brush.Color := clWhite;
<span>Canvas.FillRect(Rect(140, 10, 190, 2 * 200 + 10));
</span>Canvas.FillRect(Rect(10, round(2 * 200 / 2) - 25, 3 * 200 + 10, round(2 * 200 / 2) + 25));
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Введите строку: ");
string str = Console.ReadLine();// строка
Console.WriteLine("Введите подстроку: ");
string podstr = Console.ReadLine();//подстрока
var temp = str.Split().Where(i => i.Contains(podstr));
Console.WriteLine("Слова содержащие подстроку:");
foreach (var word in temp)
Console.Write(word + " ");
Console.ReadLine();
}
}
}
#include <iostream>#include <cmath>using namespace std;long long x;int main () { cin >>x; x=x / 100; cout <<x; return 0;}<span />