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 |
i mdoing btech and i have two choices either i choose software eng or do multimedia eng so which one has better scope
a simple compiled code is run on a C compiler as well as java virtual machine. which runs faster and y?
i want a richdatatable to be displayed only when a list has some value in the bean, and a datatable with header only if the list is empty. And i want the datatable to be printed only when ajax button is clicked??
can anyone help me with an article or a few pointers on what are the industry expectations from Fresh engineers in today's market scenario
sir i m reject two time in u.s in spring intake now im taking a date of 1july-2010 in fall intake &im competed my bachlor degree(chem) in jun-2009 so what answer i give to visa officer ask me a what r u doing last 1-year bcoz i have no work expirience
i am studying mechanical third year.. i like to do one year marine bridge course.. my question is . is there good oppourtunites for us (mecanical eng)? and tell about the salary
Why is using C language
what we have to say about hobbies,strong points,weak points
I have file with input as below : Name Value Rohan 12,13,14 Rohit 1,2,3 Output should be : Rohan 12 Rohan 13 Rohan 14 Here how will the normalize component work? Thanks
What are the methods available in storing sequential files ?
what is the proper location of sample point for sphere tank?
why pegging is required for deaerator in power plant nd why maintain the constant pressure in deaerator 3.5 kg/cm2.
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)