[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/SelfCodeLearning/C-Plus-Plus/master/others/stairs_pattern.cpp [Back]  [Original]

/*
This program is use to print the following pattern
   **
   **
  ****
  ****
 ******
 ******
********
********
where number of pairs line is given by user  
*/
#include
int main() {
int l, st = 2, x, r, z, n, sp;
std::cout > x;
z = x;
for (r = 1; r 

Web Proxy Viewer  |  New URL  |  Original Page