Skip to content

Instantly share code, notes, and snippets.

@pawelsawicz
Last active November 7, 2015 15:43
Show Gist options
  • Save pawelsawicz/d227ae2d418bd85aebb9 to your computer and use it in GitHub Desktop.
Save pawelsawicz/d227ae2d418bd85aebb9 to your computer and use it in GitHub Desktop.
// Example program
#include <iostream>
#include <string>
using namespace std;
int main()
{
int liczbaKostek;
cout << "Podaj liczbe kostek : \n";
cin >> liczbaKostek;
cout << "\n Liczba kostek " << liczbaKostek;
int tablicaKostek[liczbaKostek];
cout << "\n Podaj wysokosc kostek (w cm):";
for (int i=0; i<liczbaKostek; i++){
cin >> tablicaKostek[i];
}
cout << "Program zapisal wysokosc kostek...";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment