Jump to content

dúvida iniciante


Recommended Posts

Boas o enunciado do exercicio é este:

Construa um programa que leia um numero inteiro positivo e escreva um certo numero de asteriscos no ecra conforme o valor lido. Se o valor estiver no intervalo [0,10[ escreve um asterisco, se estiver em [10,20[ escreve dois asteriscos, etc.

Já tentei fazer de todas as formas e feitios se alguem souber como se resolve agradecia (:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.