Problem 1 read a string and decide if it is an integer or not Input 1340 output Integer ----------------- Input -0431 output Integer ----------------- Input -+123 output Not an Integer ----------------- Input -12- output Not an Integer =============================== Problem 2 read a string (possible contains soaces, remove the spaces and decide if it is a palendrome or not. Input Hi my name output Himyname No ----------------- Input ab c a acba output abcaacba YES ----------------- Input 1234 5 6 output 123456 NO ----------------- Input a b a output aba YES ============================================= Problem 3 read n, followed by a square matrix of size n and display the uppr diagonal in a diagonal format Input 3 1 5 2 3 7 1 4 9 8 output 1 7 8 5 1 2 ----------------- Input 4 3 2 1 0 4 1 4 2 3 1 2 7 9 8 9 0 output 3 1 2 0 2 4 7 1 2 0 ----------------- Input 4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 output 1 6 1 16 2 7 12 3 8 4