This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test.areaundercurve; | |
public class AreaUnderCurve { | |
public double getAreaUnderCurve(Term[] equation, int limit1, int limit2){ | |
double ret =0.0; | |
if(limit1 == limit2) return ret; //when limits are equal the area under the curve is equal | |
//Write your code here | |
int i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
// 料理を作るI/F | |
type Cooker interface { | |
Cook() string | |
} | |
// 塗るI/F |