169 похожих чатов

{ Progger: { // specialization type 'Progger' salary: 1000, // salary after

tax; should be integer; min: 100, max: 100000
tax: "15%" // tax percent; presented as string with template {tax}% where
// 'tax' is integer; min: "0%", max: "99%"
},
Tester: {
salary: 1000,
tax: "10%"
}
}
[
{
name: "Masha", // name of team member
specialization: "Progger", // specialization should be picked from salaries
// otherwise member should be ignored in report
},
{
name: "Vasya",
specialization: "Tester",
},
{
name: "Taras",
specialization: "Tester",
},
];
{
totalBudgetTeam: 3398, // total salaries with tax of entire team; should be integer
(truncate the fractional part after all calculations)
totalBudgetProgger: 1176, // total salaries with tax for all members by 'Progger'
specialization; should be integer (truncate the fractional part after all calculations)
// totalBudgetTester: 2222, // total salaries with tax for all members by 'Tester'
specialization; should be integer (truncate the fractional part after all calculations)
}

Каким образом здесь получаются такие числа? 3398, 1176, 2222

4 ответов

24 просмотра
syntax.- Автор вопроса

https://codesandbox.io/s/kkkk-951zi7?file=/src/index.js

syntax.
https://codesandbox.io/s/kkkk-951zi7?file=/src/ind...

А где само задание то? Что надо сделать?

syntax.- Автор вопроса
stay calm
А где само задание то? Что надо сделать?

The accounting department turned to the IT department with a request to help with the financial report on the work of teams on the vendor side. It is known that the teams consist of a different number of specialists in different categories. It is also known that each category of specialists has its own fixed salary after taxes and this tax rate. Accounting must calculate the cost of the services for each specialty and the entire team. Your team leader has prepared a function template that will perform the task. You need to implement this function.

syntax.- Автор вопроса
syntax.
The accounting department turned to the IT departm...

но здесь абстрактно описано, по сути всё они описали в комментах, но как дойти до такого вывода как у них не понимаю

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
14
Добрый день! Скажите пожалуйста, а какие программы вы бы рекомендовали написать для того, чтобы научиться управлять памятью? Можно написать динамический массив, можно связный ...
Филипп
7
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
Ребят в СИ можно реализовать ООП?
Николай
33
https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_h_common.erl#L174 https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_olp.erl#L76 15 лет назад...
Maksim Lapshin
20
Карта сайта