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

which worker is involved in all the phases of SDLC?

1795


in IBM PC -AT.WAT AT REFERS TO?

1520


When we use Windows authentication mode

1653


What is WEB 3.0? What are the features their in WEB3.0

1672


what are the 3 forms of a prolog term

2863






1. Write a program to create a sentence at runtime and count number of vowels in it ? 2. Write a program to get a string and to convert the 1st letter of it to uppercase ?

3292


5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above

2240


Which design patterns have you used?

1638


What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?

1723


Write a program to show polymorphism.

773


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.

2076


along with oracle which language will be beneficial to have knowledge with,java,.net,since i m doing oracle have appeared for 8th sem BEIT,plz suggest

1483


Find out the list of roles which gives access to GUI activities? thanks in advance

1833


How to change the color of a cell or a row in a datagrid on mouse hover using javascript/.net

1619


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

1842