Answer Posted / krishna anil dadge
#include<iostream>
using namespace std;
int main()
{
for(int i=1;i<=5;i++)
{
for(int j=1;j<=i;j++)
{
if((i+j)%2==0)
{
cout<<"1";
}
else
{
cout<<"0";
}
}
cout<<endl;
}
return 0;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Tell me about your parents?? Pls share any one best words...
Please send the details and fee for Intools training course..I would like to do the course in second week of jUNE 2010.
i m a student of 4th year ,i m unable to get the embassy appointment dates , and it details.............please help any body.My id=john_searching143@yahoo.com
Explain power?
find the net id and host id of the following IPV4 117.34.3.8 and 132.57.8.6
How to get the code from internet while i am doing project
what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?
hello sir,pls fdorward previous group-I exam papers .....
how we can improve mobile ad,hoc network.
95) func(a,b) int a,b; { return( a= (a==b) ); } main() { int process(),func(); printf("The value of process is %d ! ",process(func,3,6)); } process(pf,val1,val2) int (*pf) (); int val1,val2; { return((*pf) (val1,val2)); please help me in detail ....with flowchart
the controller valve fisher error: travel ??? not output input ok
what is mean by tranducer
/bin/bash is missing.
write a program for reverse a given string?
what is your experience with computer-aided design software.