Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication2
- {
- class Program
- {
- static void menu()
- {
- Console.WriteLine("\n===========================");
- Console.WriteLine(" BASE DE DADOS ");
- Console.WriteLine("\n============================");
- Console.WriteLine(" 1:POR ALUNO ");
- Console.WriteLine(" 2:VER ALUNO ");
- Console.WriteLine(" 0:SAIR ");
- Console.WriteLine("\n============================");
- }
- static void poraluno()
- {
- string nome,turma;
- int numero;
- string[]alunos= new string [30];
- Console.Writeline("Ponha o nome do aluno");
- nome = Console.ReadLine();
- Console.Writeline("\n Ponha o turma do aluno");
- turma = Console.ReadLine();
- Console.Writeline("Ponha o numero do aluno");
- numero = Console.ToiInt16(Console.ReadLine());
- for (int i=0; i< alunos.lenght; i++)
- Console.WriteLine("
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement