<commit_before>/**
 * @author <NAME>
 *         Created on 6/26/15 at 2:33 PM.
 *         All content is under the MIT License unless otherwise specified.
 *         See LICENSE.txt for details.
 */
public class FunWithMethods {
}<commit_msg>Complete, passes tests.<commit_after>/**
 * @author <NAME>
 *         Created on 6/26/15 at 2:33 PM.
 *         All content is under the MIT License unless otherwise specified.
 *         See LICENSE.txt for details.
 */

import java.util.Arrays;
import java.util.Scanner;

public class FunWithMethods {
    public static void main(String[] args) {
        Scanner userInput = new Scanner(System.in);

        System.out.print("Enter first integer: ");
        int userVar1 = userInput.nextInt();
        System.out.print("Enter second integer: ");
        int userVar2 = userInput.nextInt();
        System.out.print("Enter third integer: ");
        int userVar3 = userInput.nextInt();

        printSmallest(userVar1, userVar2, userVar3);

        System.out.println("The average is: " + average(userVar1, userVar2, userVar3));
    }
    public static void printSmallest(int var1, int var2, int var3) {
        int holder[] = {var1, var2, var3};
        Arrays.sort(holder);
        System.out.println(holder[0]);
    }
    public static double average(int var1, int var2, int var3) {
        return ((var1 + var2 + var3) / 3);
    }
}
{'fraction_non_alphanumeric': 0.11811594202898551, 'fraction_numerical': 0.02826086956521739, 'mean_word_length': 2.5963541666666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3491874', 'n_tokens_mistral': 426, 'n_tokens_neox': 411, 'n_words': 124}