Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

chickens,cows,pigs

Language: Layout:
- ] Show input
Absolute running time: 0.11 sec, cpu time: 0.09 sec, memory peak: 6 Mb, absolute service time: 0,12 sec 
edit mode |  history  | discussion
returns the total number of legs of all the animals
chickens = 2 legs
cows = 4 legs
pigs = 4 legs
enter the no of chickens
enter the no of cows
enter the no of pigs
36

    
                
λ
.NET NoSQL database for rapid development