Last active
November 7, 2015 15:43
-
-
Save pawelsawicz/d227ae2d418bd85aebb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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