COMP281 Assignment 1 – C Programming
The following 5 problems will be available as Assignment 1 on the online judging
system available at https://intranet.csc.liv.ac.uk/JudgeOnline/
You need to write a valid C program that solves each of these problems – it must
read the input, as specified in the problem description then print the solution to the given
problem for that input.
Input is read from the standard input, in the same way that you read input from the keyboard
as shown in lectures (e.g., using scanf). Output is also printed... More