Listing programu For_1.
#include<iostream.h>
#include <conio.h>
#include <stdio.h>
/* Program wypisuje n gwiazdek na ekranie. */
/****************************************************************************************
main()
{
int ile;
cout<<" Program wypisuje n gwiazdek na ekranie.";
cout<<"\n Wciśnij ENTER aby uruchomić program. \n";
getch();
cout<<"\nPodaj ile gwiazdek mam wypisać :";
cin>>ile;
for(int i=0;i<ile;i++)
{
cout<<" * ";
}
cout<<"\n\n\n\n Koniec programu = ENTER";
getch();
}