# Tag Archives: C program

## A C program to calculate total score of assignment student selected and display it – IGNOU MCA Assignment 2015 – 16

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(I)/011/Assignment/15-16 Maximum Marks : 100 Weightage : 25%   Write an interactive C program to manage the assignments at study centres for the first semester courses of MCA (MCS-011, 012, 13, 014, 015, MCSL-016 and MCSL-017). Maximum marks… Read More »

## A C program to generate Telephone Bill for Consumer – IGNOU MCA Assignment 2015 – 16

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(I)/L-017/Assignment/15-16 Maximum Marks : 100 Weightage : 25%   Write an interactive program in C language to create an application program which generates the telephone bills. It stores various details of users Telephone Number, Name,… Read More »

## C029 A C program with a function that returns the minimum and the maximum value in an array of integers

void minmax(int array[],int length,int *min,int *max); //prototype Let’s identify variables needed for this program. In this program, we need several variables to store array of decimal numbers and count the length of array and store minimum and maximum of the array. First variable will be the one which will save the list of integers in… Read More »

## C027 A C program that multiply two complex numbers

Let’s identify variables needed for the structure inside the program. In this complex structure, we need two variables to store real part and imaginary part of complex number. First variable will be the one which will save the real part of complex number and it will be REAL. Second variable will be the one which… Read More »

## C026 A C program to process the students evaluation records using structures

Let’s identify variables needed for the structure inside the program. In this student structure, we need several variables to store string as name and number for enrollment number and marks of student appeared in the term end examination. First variable will be the one which will save the enrollment number and it will be ENROL.… Read More »

## C025 A C program to input a string and output the reversed string using pointer notation

Let’s identify variables needed for this program. In this program, we need several variables to store string and count the number of characters in the given string. First variables will be the one which will save the string entered by the user and reverse of it. So it will be S[50] and R[50]. In C… Read More »

## C028 A C program with a function that will return the length of a character string without using inbuilt function

Let’s identify variables needed for this program. In this program, we need several variables to store string and count the number of characters in the given string. First variable will be the one which will save the string entered by the user and it will be S[50]. In C language we do not have string… Read More »

## C024 A C program to count number of vowels, consonants & spaces in a given string

Let’s identify variables needed for this program. In this program, we need several variables to store large sentence and count the number of occurrences in the given sentence. First variable will be the one which will save the sentence given and it will be S[]. Keeping the square bracket blank means it will take the… Read More »

## C023 A C program to convert a given lowercase string to uppercase string without using the inbuilt string function

Explanation of FUNCTION: A function is a block of code that has a name and it has a property that it is reusable i.e. it can be executed from as many different points in a C Program as required. Function groups a number of program statements into a unit and gives it a name. This… Read More »

## C022 A C program to reverse the given string using recursion

Explanation of FUNCTION: A function is a block of code that has a name and it has a property that it is reusable i.e. it can be executed from as many different points in a C Program as required. Function groups a number of program statements into a unit and gives it a name. This… Read More »