Tag Archives: IGNOU Solved MCA Assignment

A C program to generate Salary Pay Slip for Staff – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/13 Assignment 2013    An interactive C program to generate pay slips for the staff of size 12 employees (2 members are clerks, one computer operator, 6 salesmen, 3 helpers) , working in a small chemist retail… Read More »

A C Program to used as Weight Converter – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/13 Assignment 2013  An interactive C program called “WEIGHT CONVERTER” that accepts the weight in milligrams / decigrams / centigrams / kilograms /ounces / pounds / tons and displays its equivalent in grams.   #include<stdio.h> void main()… Read More »

A C program to check whether the string is a palindrome or not, using pointers – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/13 Assignment 2013     An interactive C program to check whether the given string is a palindrome or not, using pointers.   #include<stdio.h> void main() {     int MID,FLAG,I,LEN=0;     char *PTR1,*PTR2,S[50];     clrscr();     printf(“TO CHECK… Read More »

A C Program to replace a character in a String Using Function – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/13 Assignment 2013    A C program function strreplace(s, chr, repl_chr) which will replace each occurrences of character chr with the character repl_chr in the string s. The function returns the number of replacements. Place the source… Read More »

A C Program to convert Binary to Octal number – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/13 Assignment 2013    An interactive C program to convert a binary number to its octal equivalent.   #include<stdio.h> void main() { char S[15]; int I,Y,LIMIT,LEN,OCT[15],BIN[15],RESULT,FLAG=0; clrscr(); printf(“ENTER BINARY NUMBER TO BE CONVERTED : \n”); scanf(“%s”,&S); LEN=strlen(S);… Read More »

A C program to find out perfect numbers from 1 and 50 – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/13 Assignment 2013    A C program to find out perfect numbers from 1 and 50   #include<stdio.h> void main() { int NUM,I,SUM=0; clrscr(); for(NUM=1;NUM<50;NUM++) { for(I=1;I<NUM;I++) { if(NUM%I==0) { SUM=SUM+I; } } if(SUM==NUM) { printf(“\n%d IS… Read More »