В
Все
М
Математика
А
Английский язык
Х
Химия
Э
Экономика
П
Право
И
Информатика
У
Українська мова
Қ
Қазақ тiлi
О
ОБЖ
Н
Немецкий язык
Б
Беларуская мова
У
Українська література
М
Музыка
П
Психология
А
Алгебра
Л
Литература
Б
Биология
М
МХК
О
Окружающий мир
О
Обществознание
И
История
Г
Геометрия
Ф
Французский язык
Ф
Физика
Д
Другие предметы
Р
Русский язык
Г
География
Kata8i77866
Kata8i77866
15.08.2022 00:02 •  Информатика

СhekBox obekti va uning asosiy xossalari?

Показать ответ
Ответ:
shabishka
shabishka
15.01.2020 05:09

Вычислим примеры. Для этого приведем дроби к общему знаменателю.

Так как общий знаменатель число 45, то 7/9 дробь умножим на 5/5. После этого делаем прибавку.

1) 2/45 + 7/9 = 2/45 + 7/9 × 5/5 = 2/45 + 35/45 = 37/45;

Дробь 2/5 умножим на 5/5.

2) 2/5 + 4/25 = 2/5 × 5/5 + 4/25 = 10/25 + 4/25 = 14/25;

Найдем произведение дробей 1/6 и 3/3, чтобы получили знаменатель 18. Результат прибавки можно сократить в два раза.

3) 1/6 + 7/18 = 1/6 × 3/3 + 7/18 = 3/18 + 7/18 = 10/18 = 5/9.

Делаем умножение 6/7 на 6/6. 

4) 19/42 + 6/7 = 19/42 + 6/7 × 6/6 = 19/42 + 36/42 = 55/42;

Умножим дробь 5/8 на 4/4.

5) 3/32 + 5/8 = 3/32 + 5/8 × 4/4 = 3/32 + 20/32 = 23/32;

6) 3/8 + 1/56 = 3/8 × 7/7 + 1/56 = 21/56 + 1/56 = 22/56 = 11/28.

0,0(0 оценок)
Ответ:
gameadventgary
gameadventgary
28.09.2020 19:40

Движок не позволяет добавить архив с проектом

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace ConsoleApp3

{

   class Program

   {

       public class client

       {

           public string FIO;

           public string phone;

           public string adress;

           public client()

           {

           }

           public client(string FIO, string phone, string adress)

           {

               this.FIO = FIO;

               this.phone = phone;

               this.adress = adress;

           }

           public client(client NewClient)

           {

               this.FIO = NewClient.FIO;

               this.phone = NewClient.phone;

               this.adress = NewClient.adress;

           }

           public string PoluchitInfo()

           {

               return "ФИО: " + this.FIO + "\nтелефон: " + this.phone + "\nадрес: " + this.adress;

           }

       }

       public class customer: client

       {

           public double Trovar;

           public int Kolichestvo;

           public double Stoimost;

           public customer()

           {

           }

           public customer(customer NewCostumer)

           {

               this.FIO = NewCostumer.FIO;

               this.phone = NewCostumer.phone;

               this.adress = NewCostumer.adress;

               this.Trovar = NewCostumer.Trovar;

               this.Kolichestvo = NewCostumer.Kolichestvo;

               this.Stoimost = NewCostumer.Stoimost;

           }

           public customer(string FIO, string phone, string adress, double Trovar, int Kolichestvo)

           {

               this.FIO = FIO;

               this.phone = phone;

               this.adress = adress;

               this.Trovar = Trovar;

               this.Kolichestvo = Kolichestvo;

               this.SchitatStoimost();

           }

           public double SchitatStoimost()

           {

               return Stoimost = Trovar * Kolichestvo;

           }

       }

       static void Main(string[] args)

       {

           customer[] customers = new customer[3];

           customers[0] = new customer("Иванов", "322223322", "Бобруйск", 1.1, 2);

           customers[1] = new customer("Петров", "123456789", "Урюпинск", 2.2, 5);

           customers[2] = new customer("Сидоров", "987654321", "Крыжополь", 3.3, 10);

           double Sum = 0;

           foreach(customer Temp in customers)

           {

               Console.WriteLine(Temp.PoluchitInfo()+"\n");

               Sum += Temp.Stoimost;

           }

           Console.WriteLine(Sum.ToString());

           Console.ReadLine();

       }

   }

}

0,0(0 оценок)
Популярные вопросы: Информатика
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота