برنامه ی زیر چه چیزی را نمایش می دهد؟
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int row = 10, column;
while(row >= 1){
column = 1;
while(column <= 10){
cout << (row % 2 ? "<" : ">");
++column;
}
--row;
cout << endl;
}
getch();
return 0;
{
--------------------------------
>>>>>>>>>>
<<<<<<<<<<
>>>>>>>>>>
<<<<<<<<<<
>>>>>>>>>>
<<<<<<<<<<
>>>>>>>>>>
<<<<<<<<<<
>>>>>>>>>>
<<<<<<<<<<