<commit_before>/*
K.N.King "C Programming. A Modern Approach."
Programming project 7 p.96

Write a program that finds the largest and
smallest of four integers entered by the user:

"Enter four integers: 21 43 10 35
Largest: 43
Smallest: 10
"

Use as few if statements as possible.
*/

#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>

int main(void) 
{<commit_msg>Update Source.c<commit_after>/*
K.N.King "C Programming. A Modern Approach."
Programming project 7 p.96

Write a program that finds the largest and
smallest of four integers entered by the user:

"Enter four integers: 21 43 10 35
Largest: 43
Smallest: 10
"

Use as few if statements as possible.
*/

/*
I actually added extra requirements to the problem to make it more challenging.
Unlike the problem, that requires only 4 digits to be read, my challenge is to
allow users to enter as many values as possible, separated by whitespace, and 
terminate the array of values by a sending a new line character to the stream.
*/

#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>

int main(void) 
{
{'fraction_non_alphanumeric': 0.07728119180633147, 'fraction_numerical': 0.028864059590316574, 'mean_word_length': 4.0947867298578196, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6343603', 'n_tokens_mistral': 369, 'n_tokens_neox': 323, 'n_words': 163}