-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproblems.js
More file actions
7 lines (4 loc) · 742 Bytes
/
problems.js
File metadata and controls
7 lines (4 loc) · 742 Bytes
1
2
3
4
5
6
7
// problem 1. 'anaToVori' function take input of ana and output will be Vori.(1 ana = 0.0625 vori) (1 Vori = 16 ana )
// problem 2. 'pandaCost' function take 3 parameter with singara,shomucha, jilapi quantity , where per singaraPrice = 7; shomuchaPrice = 10; jilapiPrice = 15; you will return totat cost of singara,shomucha and jilapi with quantity
// 3. 'picnicBudget' this function take 1 parameter which is how much people go to picnic, where 1 to 100 cost per person = 5000, 101 to 200 cost per person = 4000 , rest of greater than 200 cost per person = 3000 , so yo will return total cost of input number of people .
// 4 . oddFriend function which take an array input and there have our friends name you can check which is % 2 != 0