
Dotychczas napisałem tylko tyle , lecz i to nie działa.
- Kod: Zaznacz cały
#include <iostream>
#include <cmath>
#include <conio.h>
using namespace std;
int main ()
{
int a,b,c,d;
cout<<"Podaj wysokosc litery T: ";
cin>>a;
cout<<endl<<endl;
for (b=0; b<=a; b++)
{cout<<"*";}
for (c=1; c<=a; c++)
{
for (int puste=1; puste<=(b-a); puste++)
{cout<<" ";}
for (c=1; c==b/2; c++)
{cout<<"*"; cout<<endl;}
}
getch ();
return 0;
}