diff --git a/README.md b/README.md index 58ab668..161e419 100644 --- a/README.md +++ b/README.md @@ -1 +1,32 @@ -# ITC115-Java-Programming \ No newline at end of file +# ITC115-Java-Programming + +/* + * Projact name: Season with two parameter method + * Date: 10.22.2018 + * Author: Abdiwali M Olad + */ + + + +public class mon24Assignment { + + public static void main(String[] args) { + + int result; // defin the variable name as int result + + result = season(10, 5); // result now is called function method pass by + // two parameters + + System.out.print(result); // called system out to print out the result + // in to the console. + + } + + public static int season(int x, int y) { // creating method and defin to + // parameters integers + + return x + y; // return x and y + + }// end of the method + +}//end class