Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
![](https://s.yimg.com/ag/images/4524/37921757140_1e4709_192sq.jpg)
Usama
how can i make buttons like calculator using C++ which can be controlled by keyboard ?
help needed guyz :)
2 AnswersProgramming & Design1 decade agoi m trying to find "amar" in the following program with the help of sequential search but not getting output.?
include<stdio.h>
#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
char* names[10]={"talha","usama","amar","saad","haris","umair","umer","nadia","huma","adam"};
int i;
for(i=0;i<=9;i++)
{
getch();
if(names[i]=="amar")
{
cout<<"\n amar is present in names";
break;
}
}
getch();
}
2 AnswersProgramming & Design1 decade agowhat is meant by sequential search in c language ?
plz tell briefly with example !
1 AnswerProgramming & Design1 decade agoi m writing this code abt 15 times but not getting the desired output for reversing the numbers.?
include<stdio.h>
#include<conio.h>
#include<iostream.h>
void main()
{
int i,j,k,l=0,m[15],n;
clrscr();
cout<<"enter 15 num\n\n";
for (i=0;i<=14;i++)
{
cin>>m[i];
for(j=m[i];j!=0;j=j/10)
{
k=j%10;
l=l*10+k;
}
clrscr();
cout<<l;
getch();
clrscr();
}
getch();
}
1 AnswerProgramming & Design1 decade ago