mercredi 7 janvier 2015

c# home works can't solve

iam begginer web developer and learn now c# , i have home work and cant solve the problem. I have to make console program that ask user to enter number, then the program have to make square of stars (*) equal to the number that the user inputed before. example:



user input :5
*****
* *
* *
* *
*****


maybe its looks easy to you but i trying to solve it couple hours and can't find the answer. and please notice that i am very new to c# so i dont know much, all i know for now is simple while loops and if statments and ofcourse make vars of int,string,bool,double,char types. thanks for help.


Aucun commentaire:

Enregistrer un commentaire