MCQ on Java Programming With Answers set-11 nour 11:10 PM Add Comment Java Multiple Choice Question (MCQ) 1. If m and n are int type variables, what will be the result of the expression m%n when m=-14 and n=-3? A) 4 B) 2 C) -2 D) -4 2. Consider t... Read More
Write a Program in C to Find if a Number is Present in a List or not nour 8:46 AM Add Comment C Programming Guide Here is a C program to find if a number is present in a list of N numbers or not. In this program for loop is used to search a number from t... Read More
C Program to Find the Sum and Average of Numbers Using Do-While Loop nour 12:30 AM Add Comment C Programming Guide In this program sum and average of of the given numbers are calculated using do-while loop. Do-while loop is a looping condition where state... Read More
Write a Program in C to Sort a List of Numbers in Ascending Order nour 4:38 AM Add Comment C Programming Guide In the program below nested for loop is used to sort a list of real numbers in ascending order. This program below asks to enter how many ... Read More
Write a Program in C to Calculate the Factorial Value of an Integer. nour 12:00 AM Add Comment C Programming Guide Here is a program in C to calculate the factorial value of an integer. The factorial of a number is the product of all the integers between ... Read More
Write a Program in C to Copy a String to Another. nour 2:36 AM Add Comment C Programming Guide Here is a program in C to copy one string to another string using user defined function. Here two character arrays are defined then prompted... Read More
C Program to Read Set of Real Numbers from Keyboard & Find the Maximum nour 10:40 AM Add Comment C Programming Guide To write a C program to read set of real numbers from keyboard and find the maximum among them, you can use a function which takes an array... Read More
Write a Program in C to Determine Whether a Number is Prime or Not. nour 9:46 PM Add Comment C Programming Guide "A prime number is one, which is divisible only by 1 or itself." To determine whether a number is prime or not, we have to divide ... Read More