Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Commit

Permalink
move exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-cat-tty committed Nov 9, 2021
1 parent 1606495 commit ac15217
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
Binary file not shown.
19 changes: 19 additions & 0 deletions esercitazioni/stampa_array.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include <iostream>

using namespace std;

int main() {
const int dim = 5;
int V[dim];

for (int i=0; i<dim; i++) {
cout << "Inserisci elemento " << i+1 << ": ";
cin >> V[i];
}

for (int i=0; i<dim; i++)
cout << "Valore " << i+1 << ": " << V[i] << endl;

return 0;

}
9 changes: 0 additions & 9 deletions stampa_array.cpp

This file was deleted.

0 comments on commit ac15217

Please sign in to comment.