Simple Program


1/*Write a C progrm for finding a number is maximum or minimum.*/

2/*Write a’ c’ program to accept ‘n’ numbers from user store these numbers into an array and sort the numbers of an array*/

3/*Program for addition of two matrix using array*/

4/*Write a C program for multiplication of two m*n matrices*/

5/*Write a ‘C’ Program to swap the values of two variables by using call by reference*/

6/*Write a ‘C’ program to accept a string from user and generate following pattern (e.g. input string “abcd”)*/
a
a b
a b c
a b c d
a b c
a b
a

7/*Write a C program to convert given decimal number into binarynumber.*/

8/* Program to append the contents of one file at the end of another file. */
9/* WAP to copy one file to another file while doing so replace all lower case character to their equivalent upper case character*/

10/*Write a ‘C’ program to display the transpose of a given 3*3 matrix*/

11/*Write a ‘C’ program to accept ‘n’ numbers and store all prime numbers in an array and display this array*/

12/*Write a ‘C’ program to accept ‘n’ numbers and store all prime numbers in an array and display this array*/

13/*Write a ‘C’ program to accept ‘n’ numbers from user, store these numbers into an array and calculate average of ‘n’ numbers*/

14/* WAP to calculate the sum of elements of upper triangle of a nXn matrix by using dynamic memory allocation*/

15/*Write a C program to create student structure having fields roll_no,stud_name,mark1,mark2,mark3. Calculate the total and average of marks and arrange the records in descending order of marks*/

16/*Write a C progrm to check whether given string is palindrome or not.*/

17/* Write a ‘C’ Program to accept an mXn matrix and find the largest and smallest number from the matrix using dynamic memory allocation*/

18/*Write a C progrm to calculate length of a given string without using standard function.*/

19/*Write a ‘C’ program to accept string from user and convert all lower case letters into upper case letters and vice versa*/

20/*Write a’C’Program to accept 5 names from user and store these names into an array.Sort these array elements in alphabeticalorder*/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s