0

Write a program

that will print the following pattern by using loop 0111 1011 1101 I tried for the first row #include <iostream> using namespace std; void main(){ int x, y ; for (x=y=1 ; x<=4 && y<=4 ; x++,y++ ) { if (x=y=1) cout <<x-y; else cout<<x/y; } return 0; }

23rd Apr 2018, 10:33 AM
Abdulla Nasri
Abdulla Nasri - avatar
1 Resposta
+ 2
Hello! the "tag" should only contain the search terms and not the question
23rd Apr 2018, 10:43 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar