Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C by Kudłaty ( 13 years ago )
#include <stdio.h>
#include <stdlib.h>


main(){
 wysokosc();
 slupek();
}

int wysokosc(){
 int wys;
 printf("Podaj liczbe kolumn\n");
 scanf("%d", &wys;);
 return wys;
}

void slupek(wys){
 
 for(wys; wys>0; wys--){
  printf("*\n");
 }
}

 

Revise this Paste

Parent: 68428
Your Name: Code Language: