foxx pfp
foxx

@foxx

this right?šŸ˜… // - An apple costs 2 rustbucks. // - If Mary buys more than 40 apples, each apple only costs 1 rustbuck! ```rust fn calculate_price_of_apples(apple: i32) -> i32 { if apple <= 40 { apple * 2 } else { apple } } ```
2 replies
0 recast
0 reaction