+ 7

what is output

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int x = 20; for ( ; x > 0; x -= 5) { Console.WriteLine(x); } } } }

25th Apr 2018, 7:35 PM
Shubham goyal
Shubham goyal - avatar
5 Respuestas
+ 8
vote bhi do
26th Apr 2018, 9:33 AM
Shubham goyal
Shubham goyal - avatar
+ 3
Output is: 20 15 10 5
25th Apr 2018, 7:39 PM
TurtleShell
TurtleShell - avatar
+ 1
i think 5 is that true?
25th Apr 2018, 7:38 PM
Stefanoo
Stefanoo - avatar
+ 1
TurtleShell ah you are right that is my answer now XD
25th Apr 2018, 7:43 PM
Stefanoo
Stefanoo - avatar
- 1
Where did you get 5 from? Lol
25th Apr 2018, 7:44 PM
TurtleShell
TurtleShell - avatar