TOPIC

Wrong answer (10%)

Rafael Cristofali asked 1 year ago

Estou tentando resolver esse problema em C# poré está dando algum erro, alguem poderia me ajudar?

using System;

namespace 1174 { class Program { static void Main(string[] args) { float[] A = new float[100]; for (int i = 0; i < 100; i++) { A[i] = float.Parse(Console.ReadLine()); } for (int i = 0; i < 100; i++) { if (A[i] <= 10) { Console.WriteLine("A[" + i + "] = " + A[i]); } } } } }

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.