exercises

Dependencies:   mbed

Revision:
0:ff7b10a0e08f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fruits.cpp	Fri Aug 28 18:45:26 2015 +0000
@@ -0,0 +1,18 @@
+#include "fruits.h"
+
+fruits::fruits(){
+    
+    weight = 10;
+    
+    }
+    
+void fruits::setWeight(uint32_t newWeight){
+    
+    weight= newWeight;
+    
+    }
+uint32_t fruits::getWeight(void){
+    
+    return weight;
+    
+    }
\ No newline at end of file