This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var positions = [ | |
'Телепорт бытовой VZHIH-101', | |
'Отвертка ультразвуковая WHO-D', | |
'Ховерборд Mattel 2016', | |
'Нейтрализатор FLASH black edition', | |
'Меч световой FORCE (синий луч)' | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
// 1 | |
var price; | |
var taxes = 0; | |
function update_taxes(offerPrice) { | |
let taxe = 0.73 * offerPrice; | |
taxes += taxe; | |
return console.log(`Налог с продажи 73 % к оплате ${taxes} Q`) | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
// 1 | |
var quantityInStock; | |
var quantityOfGoodsInTheOrder; | |
quantityInStock = 500; | |
quantityOfGoodsInTheOrder = 500; | |
if (quantityOfGoodsInTheOrder > quantityInStock) { | |
console.log('На складе нет такого количества товаров') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
// 1 | |
var positions = [ | |
'Отвертка ультразвуковая WHO-D', | |
'Ховерборд Mattel 2016', | |
'Нейтрализатор FLASH black edition', | |
'Меч световой FORCE (синий луч)', | |
'Машина времени DeLorean', | |
'Репликатор домашний STAR-94', | |
'Лингвенсор 000-17', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
// 1 | |
var quantityInStock; | |
var quantityOfGoodsInTheOrder; | |
quantityInStock = 500; | |
quantityOfGoodsInTheOrder = 500; | |
if (quantityOfGoodsInTheOrder > quantityInStock) { | |
console.log('На складе нет такого количества товаров') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var nameProduct; | |
var priceProduct; | |
var saleProduct; | |
var totalPriceProduct; | |
var amountProduct; | |
var companyMoney; | |
var surrender; | |
var purchasePriceProduct; | |
var maxBuyProducts; |
NewerOlder