#include "pch.h"
#include <iostream>
using namespace std;
int main()
{
cout << "Carpim tablosu" << endl;
for (int i = 0; i < 10; i++) {
for (int z = 0; z < 10; z++) {
cout << i << "X" << z << " :" << i * z << endl;
}
cout << endl;
}
cout << "Ekrana yildiz bastirma" << endl;
for (int i = 0; i < 10; i++) {
for (int g = 0; g < 5; g++) {
cout << "*";
}
cout << endl;
}
cout << "Ekrana sekilli yildiz bastirma" << endl;
for (int u = 0; u < 10; u++) {
for (int y = 0; y <= u; y++) {
cout << "*";
}
cout << endl;
}
cout << "Ekrana H bastirma" << endl;
for (int k = 0; k < 1; k++) {
for (int h = 0; h <= 5; h++) {
cout << "*\t*\t" << endl;
}
for (int u = 0; u < 1; u++) {
cout << "*********\n";
}
for (int h = 0; h <= 5; h++) {
cout << "*\t*\t" << endl;
}
}
cout << "Ekrana A harfini bastiran kod" << endl;
for (int b = 0; b < 1; b++) {
for (int p = 0; p < 17; p++) {
cout << "*";
}
cout << endl;
for(int h=0;h<10;h++){
cout << "*\t\t*\n";
}
for (int s = 0; s < 17; s++) {
cout << "*";
}
cout << endl;
for (int h = 0; h < 10; h++) {
cout << "*\t\t*\n";
}
}
cout << "Ekrana C harfini bastiran kod" << endl;
for (int c = 0; c < 1; c++) {
for (int d = 0; d < 17; d++) {
cout << "*";
}
cout << endl;
for (int o = 0; o < 20; o++) {
cout << "*\n";
}
for (int j = 0; j < 17; j++) {
cout << "*";
}
cout << endl;
}
cout << "Sayi piramidi" << endl;
for (int i = 0; i < 10; i++) {
for (int y = 0; y <= i; y++) {
cout << y;
}
cout << endl;
}
}