# Tag Archives: Multiple

## Write an algorithm and program for implementation of multiple stacks in an Array – IGNOU BCA Assignment 2017 – 18

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-033 Course Title : Data and File Structures Lab Assignment Number : BCA(3)/L-033/Assignment/17-18 Maximum Marks : 50 Weightage : 25% Write an algorithm and program for implementation of multiple stacks in an Array – IGNOU BCA Assignment 2017 – 18   CODE: #include <stdio.h> #define max 10 int… Read More »

## Write and Implement multiple stacks in a single dimensional array – IGNOU MCA Assignment 2014-15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Implement multiple stacks in a single dimensional array. Write algorithms for various stack operations for them.   #include <stdio.h> #define max 10 int top1, top2, stk_arr[max]; void push();… Read More »

## Write a recursive program in ‘C’ to find the L.C.M. (Least Common Multiple) of two given numbers. 10m Dec2006

Write a recursive program in ‘C’ to find the L.C.M. (Least Common Multiple) of two given numbers. 10m Dec2006 #include<stdio.h> int lcm(int,int); void main() { int NUM1,NUM2,LCM; clrscr(); printf(“ENTER ANY TWO POSITIVE NUMBERS TO FIND ITS L.C.M. : “); scanf(“%d%d”,&NUM1,&NUM2); if(NUM1>NUM2) LCM = lcm(NUM1,NUM2); else LCM = lcm(NUM2,NUM1); printf(“LCM OF TWO NUMBERS IS %d”,LCM); getch();… Read More »