sleepwalker7

Drying Potatoes

Apr 24th, 2020
433
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. object Potatoes {
  2.  
  3.   def potatoes(p0: Int, w0: Int, p1: Int): Int ={
  4.     var dry = 100-p0 //процент сух вещества
  5.     var mass=dry*w0  //масса*100 сух вещества
  6.     dry = 100-p1  //стал процент сух вещества
  7.     return mass/dry
  8.   }
  9. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×