Pergunta de entrevista da empresa Specbee

1) 1 2 2 3 3 3 4 4 4 4 print this pattern 2) file program to delete the specified line from file. 3) a[]={3,5,6,7,2,1,9,4,2} print the pairs making sum = 10 with out repetition. like (3,7)(2,8)(1,9) etc