Posts by Luizz Filipe • 15 points
3 posts
-
1
votes3
answers68
viewsQ: Error in if ultimalization
My intention with this code is to show how many numbers are odd and how many are even. (e.g. Odd: 3 Even: 2). for (int i = 0; i < 6;i++) { int SePar, SeImpar, cont; SePar = 0; SeImpar = 0; cont =…
c#asked Luizz Filipe 15 -
0
votes2
answers1699
viewsQ: Find out if it is even or odd in array
I’m trying to define the even and odd numbers of a total of 5 numbers entered by the user in a vector. int[] atividade = new int[6]; for (int i = 1; i < 6; i++) { Console.WriteLine("Insira o " +…
-
0
votes1
answer35
viewsQ: Doubt about vector
I am trying to list the numbers that the user type but am not finding the function,someone can give me a light? class Program { static void Main(string[] args) { int[] atividade = new int[6]; for…