Tag Archives: check

An assembly language program to reverse the given number and check if the number is palindrome – IGNOU MCA Assignment 2015 – 16

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-017 Course Title : C and Assembly Language Programming(Lab Course) Assignment Number : MCA(I)/L-017/Assignment/15-16 Maximum Marks : 100 Weightage : 25%   Develop and execute an assembly language program to reverse the given number and check if the number is palindrome.    DATA SEGMENT NUM1 DW 12321 NUM2… Read More »

Design an algorithm, draw a corresponding flowchart and write a C program to check whether a given string is a palindrome or not. 10m Jun2006

Design an algorithm, draw a corresponding flowchart and write a C program to check whether a given string is a palindrome or not. 10m Jun2006 An algorithm is a finite set of steps defining the solution of a particular problem. An algorithm is expressed in pseudo code – something resembling C language or Pascal, but… 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 »

C007 An interactive C program to check whether a given number is a perfect number or not

A positive number is called Perfect Number if it is equal to the sum of all of its positive divisors,  excluding number itself. Let’s identify variables needed for this program. First variable will be the one which will save the value entered by the user and it will be NUM. Second variable will be i… Read More »