Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int numeri[128];
- int quanti;
- cout<<"Quanti numeri vuoi considerare? "<<endl;
- cin>>quanti;
- int contatore=0;
- while(contatore<quanti){
- cout<<"Inserisci un numero: ";
- cin>>numeri[contatore];
- contatore= contatore+1;
- }
- if(numeri < numeri){
- cout<<numeri<<endl;
- }
- else{
- cout<<numeri<<endl;
- }
- }
- //completa questo programma in modo che stampi il piΓΉ piccolo tra tutti i numeri dati
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement