how we can connect applet with database?

Answer Posted / balaji ganesh

#include<stdio.h>
void main()
{
int a[100],n,i,j;
clrscr();
scanf("%d",&n,printf("enter size of array:"));
for(i=0;i<n;i++)
scanf("%d",&a[i]);
for(i=0;i<n-1;i++)
for(j=i+1;j<n;j++)
if(a[i]==a[j])
{
printf("second occurence value: %d",a[i]);
break;
}

getch();
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between views and index in sas programming

1015


What is the Difference between in memory database and physical database

2071


Where do we need Operator overloading?

642


kindly send interview materials

1305


Given: coordinates of rectangle-> left bottom and right top points. the rectangles create a hole.Find the maximum area of the hole. eg. 4 rectangles create a hole in between. find its area.

1967






HOW TO FIND NUMBER OF TWOS IN N!(N FACTORIAL)??

1772


what is the current salary package in India for a lamp programmer

1868


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

1696


hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry

1647


how to convert infix expression to prefix expression?

3820


What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?

1768


Hi Guys, This is Rama, right now I am working as a Software Test Engineer in Gurgoan and I have over all 3 years of testing expoeriance. Right now I am looking for a change. Can any body help me out to find a job in south india. Thanks in Advance

1410


I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...

2586


Write a program to show polymorphism.

695


Tag for turning an image into a hyperlink is

1831