М
Молодежь
К
Компьютеры-и-электроника
Д
Дом-и-сад
С
Стиль-и-уход-за-собой
П
Праздники-и-традиции
Т
Транспорт
П
Путешествия
С
Семейная-жизнь
Ф
Философия-и-религия
Б
Без категории
М
Мир-работы
Х
Хобби-и-рукоделие
И
Искусство-и-развлечения
В
Взаимоотношения
З
Здоровье
К
Кулинария-и-гостеприимство
Ф
Финансы-и-бизнес
П
Питомцы-и-животные
О
Образование
О
Образование-и-коммуникации
polinaserdiuk4
polinaserdiuk4
26.11.2021 01:22 •  Информатика

Зовнішній запам'ятовуючий пристрій комп'ютера який може зберігати найбільший обсяг даних? а) дискета б) флеш-пам'ять в) жорсткий диск г) оптичний диск

👇
Ответ:
azamatyusupov
azamatyusupov
26.11.2021
Я думаю, что ответ: ЖЕСТКИЙ ДИСК
4,7(58 оценок)
Открыть все ответы
Ответ:
vladholyngha
vladholyngha
26.11.2021

import java.util.Scanner;

public class TreeStructures {

   static Scanner scnr = new Scanner(System.in);

   static int height;

   public static void main(String[] args) {

       System.out.print("How tall should the top of the tree be? ");

       height = scnr.nextInt();

       System.out.println();

       if (height >= 5 && height <= 20) {

           System.out.println("Flat tree:");

           flatTree();

           System.out.println("Xmas tree:");

           xmasTree();

       } else {

           System.out.println("That's not a valid size. I can only do trees from 5 to 20");

           System.out.println("Quitting now.");

       }

   }

   public static void flatTree() {

       int width = (height * 2) - 1;

       // first for loop to print number of rows

       for (int i = 1; i <= height; i++) {

           // second for loop to print stars to create rectangle

           for (int stars = 1; stars <= width; stars++) {

               System.out.print("*");

           }

           // println to print rows in.

           System.out.println();

       }

       //first for loop to print out rows for the bottom part of tree

       for (int i = 0; i <= height / 5; i++) {

           if (height % 2 == 0) {

               for (int j = 0; j <= ((width) / 3) + 1; j++) {

                   System.out.print("*");

               }

           } else {

               //second for loop to print out width for the bottom part of the tree

               for (int j = 0; j <= (width) / 3; j++) {

                   System.out.print("*");

               }

           }

           System.out.println();

       }

   }

   public static void xmasTree() {

       int width = height * 2 - 1;

       // NESTED LOOPS

       // first for loop to print amount of rows

       for (int i = 0; i < height; i++) {

           // second for loop for print out spaces to match the tree level

           for (int j = 0; j < height - i; j++) {

               System.out.print(" ");

           }

           // third for loop to print out stars

           for (int k = 0; k < (2 * i + 1); k++) {

               System.out.print("*");

           }

           System.out.println();

       }

       // first for loop to determine amount of rows for bottom

       for (int i = 0; i <= height / 5 +1 ; i++) {

               // for loop to print the bottom part of the tree

               for (int j = 0; j <= width/3; j++) {

                   System.out.print(" ");

               }

               for (int j = 0; j <= (width) / 3; j++) {

                   System.out.print("*");

               }

               System.out.println();

       }

   }

}

выход:

Flat tree:

Xmas tree:

         *

        ***

       

     

     

   

   

 

 

     

     

     

     

Объяснение:

4,7(27 оценок)
Ответ:
babyirishka21
babyirishka21
26.11.2021

1.   =СУММ(A1:D4)

2.  =СУММ(B1:B4)+СУММ(D1:D4)

3.  =СРЗНАЧ(B1:B4)

4.  =СРЗНАЧ(A1:D2)

5.  =МИН(A4:D4)

6. =МАКС(B1:B4)

Объяснение:

Функция СУММ возвращает сумму. Можно суммировать отдельные значения или диапазоны ячеек.

Функция СРЗНАЧ находит среднее арифметическое значение. Можно находить среднее арифметическое значение отдельных значений или диапазона ячеек.

Функция МИН находит наименьшее значение. Можно находить наименьшее значение отдельных значений или диапазона ячеек.

Функция МАКС находит наибольшее значение. Можно находить наибольшее значение отдельных значений или диапазона ячеек.

4,5(47 оценок)
Это интересно:
Новые ответы от MOGZ: Информатика
logo
Вход Регистрация
Что ты хочешь узнать?
Спроси Mozg
Открыть лучший ответ