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
i have passed my gRaduation in BCA and now im looking for post graduation from Germany, i haver passed my ielts wth 6 band, nw plz tell me some question that wll ambessay ask
what two ways you can use to ensure that visual basic does not allow uncleared variables?
what is the difference between physical address and logical address?
Write the fetch cycle and execute cycle for following instructions:JMPNZ (jump to the given address if the accumulator not equal to zero) RET(return from a subroutine) ADB (add the contents of register B to the accumulator and save result in the accumulator).
as a fresher what is the format for resume and suggest me some career objectives too........
3. Tell me about a time when you had too many things to do and you were required to prioritize your tasks.
Why do you want to work here
which field is comparitively very best , today and in future while considering the following : ELECTRONICS [OR] NETWORKING
where is the first vidhyalaya of physically handicaped
what is node class?
why we use conio.h in c programming?
How we can find out face expression ,what approach should be followed (like skin detection) ?
1)How to calculate AC Capacity for the Room?
I have failed my intermediate can i write entrance exam the next year after completing my backlogs
how to count number of 3's in 100