Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 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 ConsoleApplication2
  8. {
  9. class Program
  10. {
  11. static void menu()
  12. {
  13. Console.WriteLine("\n===========================");
  14. Console.WriteLine(" BASE DE DADOS ");
  15. Console.WriteLine("\n============================");
  16. Console.WriteLine(" 1:POR ALUNO ");
  17. Console.WriteLine(" 2:VER ALUNO ");
  18. Console.WriteLine(" 0:SAIR ");
  19. Console.WriteLine("\n============================");
  20.  
  21.  
  22. }
  23. static void poraluno()
  24. {
  25. string nome,turma;
  26. int numero;
  27. string[]alunos= new string [30];
  28.  
  29. Console.Writeline("Ponha o nome do aluno");
  30. nome = Console.ReadLine();
  31.  
  32. Console.Writeline("\n Ponha o turma do aluno");
  33. turma = Console.ReadLine();
  34.  
  35. Console.Writeline("Ponha o numero do aluno");
  36. numero = Console.ToiInt16(Console.ReadLine());
  37.  
  38. for (int i=0; i< alunos.lenght; i++)
  39. Console.WriteLine("
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement