formatting source-code for d7af6fdc8c

This commit is contained in:
github-actions
2020-05-29 23:26:30 +00:00
parent edb3d51ec2
commit 7ad1f171c1
176 changed files with 5342 additions and 4288 deletions

View File

@@ -14,18 +14,23 @@ where number of pairs line is given by user
#include <iostream>
/** main function */
int main() {
int main()
{
int l, st = 2, x, r, z, n, sp;
std::cout << "enter Index ";
std::cin >> x;
z = x;
for (r = 1; r <= x; r++) {
for (r = 1; r <= x; r++)
{
z = z - 1;
for (n = 1; n <= 2; n++) {
for (sp = 1; sp <= z; sp++) {
for (n = 1; n <= 2; n++)
{
for (sp = 1; sp <= z; sp++)
{
std::cout << " ";
}
for (l = 1; l <= st; l++) {
for (l = 1; l <= st; l++)
{
std::cout << "*";
}
std::cout << std::endl;