Guest User

Untitled

a guest
Aug 17th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace PrimeiroProg
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. String confirma = "s";
  14. Random ale = new Random();
  15. do
  16. {
  17. char bolo = (char)(ale.Next(1, 127));
  18. Console.WriteLine(bolo);
  19. Console.WriteLine("Insira s para continuar ou qualquer outra coisa para sair");
  20. confirma = Console.ReadLine();
  21. } while (confirma == "s");
  22.  
  23. Console.ReadLine();
  24. }
  25. }
  26. }
Add Comment
Please, Sign In to add comment