This is the simplest way i thought it could be done...
Its a simple ternary operator (you can consider as "if else" blocks)

I will explain it with an easy example :
Suppose if a=2, b=1 and c=3.
Now our expression is ((a>b)?a:b)>c)?((a>b)?a:b):c)):
Consider (a>b)?a:b expression :
(a>b) is true so (a>b)?a:b will mean "a"... right !!!
now by replacing that part(highlighted in red below) in the expression by "a", ((a>b)?a:b)>c)?((a>b)?a:b):c))
we will get:

(a>c)?a:c
which means "c", as (a>c) is false.

So, c is the largest number and will be printed as the output.
Isn't it simple ???? ;)

So, I'm relatively new to programming and I'm working on a program that allows for input of grades, course hours, and then calculates GPA based on that. But, I'm going ...

I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...