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
hey frnds..i have taken an emergency interview date of 21st july and my school is starting from 8th sept...i was continuously checking the date from 10 days but was not able to get a normal date...so can i get a rejection on this, that i have taken an emergency date.??????
what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?
Hi my dears I have 2 questions. 1- how many types of test are there at all? 2- how can I define test characteristics (such as test duration and parameter severity)in developing a modern technological equipment? I tanks you for introducing or sending a text handbook or guidebook file for me. thanks for your coming answers. yours sincerely
what is trx?
Why does the 'divisibility by 3' rule work?
Difference in NS and TIA type HRC fuses
How does an aeroplane stay airborne and how can some aeroplanes fly upside down?
What are the input documents to 1.Functional testing,2.System testing and 3.Integration testing. Whether there will be separate test cases for regression testing or functional testing?
wats the difference between RS latch using NAND n NOR gate? which is to be preffered?
describe about storage allocation and scope of global,exterm,static,local and register variables in c language?
376,188,88,40,16,4,-2. Find wrong term in series
What is candidate key ? What is Alter net key ? & What is foreign key ?
what is the difference between load bearing and non load bearing walls
what are purchase order , sales order idoc names and idoc types
can i knw what are we supposed to read for the coming oces/dgfs 2009 exam?what kind of book are we supposed to study?