Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Given a passport size photo draw vertical and horizontal lines
and mark the intersection points(assume one for the photo and
zero for the background).Give the intersection points(1 or 0)
to program and print "." for input 1.

Answer Posted / raveathul farzaana.m.y

#include<stdio.h>
#include<conio.h>
void main()
{
int p[50][50],rows,columns;
clrscr();
for(rows=1;rows<=50;rows++)
{
for(columns=1;columns<=50;columns++)
{
printf("\nEnter the value of row%d column%d:",rows,columns);
scanf("%d",&p[rows][columns]);
}}
for(rows=1;rows<=50;rows++)
{
for(columns=1;columns<=50;columns++)
{
if(p[rows][columns]==1)
printf(".");
else
printf(" ");
}
printf("\n");
}
getch();
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can u perform addition of two octal numbers using java?

5371


How to write test cases for Auditing in Health care Applications?

2215


How to work Air cooled and water cooled chiller?

1782


what is the Relationship between quantity of Gas and capacity of AC machine in tonnage.

2183


how can i write a program in c of SPARCE MATRIX(data structure)?

2078


5S training documents

3044


what two ways you can use to ensure that visual basic does not allow uncleared variables?

2250


reduce the number of key strokes to execute this command : t char -t -v -f/dev/fd0

3507


hi friends i am b-tech in computer science having interview of State bank of india clerk day on 30 th april. I want to know the answer of question:"you r B.tech in C.S. why do u want to become a bank clerk?" please help.Its my humble request.

2010


what is your experience with computer-aided design software.

2074


whether we can implement VPN based on UDP? If yes then tell how? If no tell why not?

2021


What were the most energizing/enjoyable aspects of your job in this given period?

6428


synchronous and asynchronous transmission

1913


what should i say in the interview if interviewer asks me "why did you choose IT instead of your core group?"

2131


how strcpy usingrecursive function

2054