Amdocs Interview Question

Online Test Coding Questions Coding question #1:- Write a program to print the following output as per the given input. Sample Input:- 4 Sample Output:- 1 2*3 4*5*6 7*8*9*10 7*8*9*10 4*5*6 2*3 1 Coding question #2:- Write a program to print all the prime numbers till ‘n’ (input). Sample Input:- 11 Sample Output:- 2,3,5,7,11