- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
This program in C finds 2 Longest common subsequence of 2 given strings(say X and Y),entered without any space on the screen individually,altering X and Y strings.I compiled and executed this above program successfully in Dev Cpp compiler as a C file(not a c++ file). |
|
Below is the java source code where I am trying to read a file and want to display its content on an applet which is opened through a html page. The problem is that when I try to open the applet through appletviewer there is not problem the data is … |
|
/* Reena Rankawat Q89.Write a program to illustrate overloading of comma operator(,). */ #include<iostream.h> #include<conio.h> //using namespace std; class loc { private: int longitude,latitude; public: loc(void) { } loc(int lg,int lat) { longitude=lg; latitude=lat; } void show(void) { cout<<"\n Latitude: "<<latitude; cout<<"\n Longitude: "<<longitude; } loc operator +(loc obj2); loc … |
|
/* Reena Rankawat */ #include<iostream.h> #include<conio.h> void main(void) { char name[50],ch[11]; int x; clrscr(); do { x=0; cout<<"\n Welcome to KBC"; cout<<"\n\n Enter your name: "; cin>>name; cout<<"\n Enter answer in form of 'a','b' and'c'only."; cout<<"\n Q1.What is called as ' THE HOLY LAND'?"; cout<<"\n a.Jerusalem"; cout<<"\n b.Mathura"; cout<<"\n c.Mecca"; … |