awk sum of 2 arrays and compare

i'm new to awk, and i've been searching on the forum for sum of a column but all the scripts does sum a column of an entire file.

I've a file like this:

cat file.txt

1234 5678
5678 1234

I want to use awk to do sum of each column per line not entire file, compare the two then write the result on third, should look like this

1234 5678 col2 #awk do sum 1234 which is 10 then compare with sum of 5678 which is 26, 26 greater than 10, write col2
5678 1234 col1 #awk sum 5678 which is 26 then compare with sum 1234 which is 10, 26 greater than 10, write col1

that would compare every two arrays in a line.

Take it further, if I collapsed all the lines into one line, how the script would change to compare for every two columns.

Great and welcome to the site.

Please show the code you tried to write yourself and any error messages you got.

Thanks.