Generation

regexMon, 12 Jun 2023

Read 5 times 3 numbers and print them in ascending order The numbers are read on 3 variables A, B, C, printing them in the corresponding order End Regex

A = 1 B = 3 C = 0 S = A if B > S then S = B if C > S then S = C if A > S then A = S if B > S then B = S if C > S then C = S if A > S then A = S if B > S then B = S if C > S then C = S if A > S then A = S if B > S then B = S if C > S then C = S print S

Questions about programming?Chat with your personal AI assistant