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 / 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 |
What do you mean by static routing and dynamic routing?
is there eligible for computer science engg students to write exams and how much percentage we want to attempt exam based on degree
Iam preparing for Visakhapatnam Management Trainee 2009 entrance exam.. If anybody have Visakhapatnam Management Trainee Interview questions Pls forward to my mail id srikanth.avanthi@gmail.com .. It is kindly request..
How to work Air cooled and water cooled chiller?
Hello everybody, I have applied for the AAI jr executive ATC exam. I am from CSE branch. Is Exam paper for the CSE and other branches same or not? Because I don't have knowlwdge on Electronic subject? Can any one please send me the previous exam papers for AAI Jr Executive of CSE branch My id is: naveen.kocherla@gmail.com Thanks and Regards Naveen
please send me latest Aptitude Test paper
1. what is the opportunity in hardware & networking in future? 2.how many courses r in networking that fulfill market requrment? 3.who is better for career MCSE or CCNA ,UNIX ?
could u please tell me where the click view tool coaching in hyderabad
What is histogram? why and how it is used?
what is the difference between error,exception,bug,defect,fault..?
what is the address bus length of an 8086 microprocessor?
how the parting surface is selected in injection mould
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)