Skip to content

Instantly share code, notes, and snippets.

View mashingan's full-sized avatar

mashingan

View GitHub Profile
function makecola(name, calories, color, sold) {
name = name || "Water";
calories = calories || 0;
color = color || "clear";
sold = sold || 0;
return {
name: name,
calories: calories,
color: color,
sold: sold
package main
import "fmt"
func main() {
res := summedsquare(getInts(), 0)
if !(res <= 0) {
fmt.Println(res)
}
main()