Предмет: Математика, автор: illerman

набери указанную сумму денег наи меньшем числом монет и купюр

Приложения:

Ответы

Автор ответа: tausinv
22
Делим нужную сумму на первый номинал. Пишем в соответствующую клетку целую часть от деления. Если она равна нулю - ставим прочерк. Находим остаток от деления и делим его на следующий номинал, проделывая такую же последовательность действий. И так до самого конца. Если остаток станет нулем раньше, чем кончатся номиналы, то ставим в оставшихся клетках прочерк. Такой алгоритм гарантирует минимальное кол-во купюр.

illerman: не ну а само решение это-то понятно
tausinv: Если понятно, то в чем проблема посчитать самому?
illerman: лень
illerman: не не я понял не надо
Похожие вопросы
Предмет: Английский язык, автор: maxim6688
5. Перепишите и переведите текст на родной язык:
OPERATING SYSTEMS: HIDDEN SOFTWARE
When a brand new computer comes off the factory assembly line, it can do nothing. The hardware needs software to make it work. Are we talking about applications software such as wordprocessing or spreadsheet software? Partly. But an applications software package does not communicate directly with the hardware. Between the applications software and the hardware is a software interface - an operating system. An operating system is a set of programs that lies between applications software and the computer hardware.
The most important program in the operating system, the program that manages the operating system, is the supervisor program, most of which remains in memory and is thus referred to as resident. The supervisor controls the entire operating system and loads into memory other operating system programs (called nonresident) from disk storage only as needed.
An operating system has three main functions: (1) manage the computer’s resources, such as the central processing unit, memory, disk drives, and printers, (2) establish a user interface, and (3) execute and provide services for applications software. Keep in mind, however, that much of the work of an operating system is hidden from the user. In particular, the first listed function, managing the computer’s resources, is taken care of without the user being aware of the details. Furthermore, all input and output operations, although invoked by an applications program, are actually carried out by the operating system.

6. Составьте пять вопросов разного типа по содержанию текста (см. задание 5) и письменно ответьте на них.