Write a program to display even numbers from 25 to 50Then display the smallest fraction along with its index. Q13. Write a program to display the maximum and minimum values from the specified range of indexes of a list. Q14. Write a program to move all duplicate values in a list to the end of the list. Q15. Write a program to compare two equal sized lists and print the first index where they differ.Exercise 1:Write a program to declare an integer array of 50 elements. A. Write a function getArray() to get array input from the user that will be used to initialize the first thirty five (35) elements of the array by getting input from the user. The rest of the 15 entries would be set to zero (0). B.Program Listing: KFJ135 List Program '1. Ask the user to enter a number, and store this number as a variable. Display the square and 'cube of the number. TextWindow.WriteLine("please enter a number") number=textwindow.ReadNumber() 'there are usually lots of ways to do a maths calculation - you just have to get the right answer!C Program To Arrange Numbers In Descending Order. Learn how to write a c Program to arrange array elements in descending order. Writing descending order program in C can be done using various techniques but here in this program, we show how to write a c program to arrange numbers in descending order in a proper way.Happy coding.Take size from users and define its elements. 2. Using for loop, taking iterator i, to reach every position of array and accessing every element of it, check whether the element is divisible by 2 or not. 3. If the element modulo 2 is 0, that means the number is divisible by 2, hence even, print it out. 4. Python program to print prime numbers. Let see python program to print prime numbers.. Firstly, we will take two inputs from the user.; for loop is used to iterate from lower to upper values; Another for loop is used, we are dividing the input number by all the numbers in the range of 2 to number. It checks whether there are any positive divisors other than 1 and the number itself.Enter any three numbers and display its sum, product and average. QBasic Programming. REM PROGRAM TO DISPLAY SUM, PRODUCT AND AVERAGE OF THREE NUMBERS. CLS. INPUT "ENTER FIRST NUMBER"; A. INPUT "ENTER SECOND NUMBER"; B. INPUT "ENTER THIRD NUMBER"; C. S = A + B + C. P = A * B * C.using do/while loop write a program that computes and display the sum of all even positive input numbers. the program terminates if it reads a negative number.. sample input/ouput dialogue: enter a number:1 enter a number:2 enter a number:3 enter a number:4 enter a number:-4. the sum of all even number(s) is:6. now na po.. ^_^...transport wordpress theme