Generation

code to explanationTue, 17 Jan 2023

int i1; i1 = 0; Console.WriteLine("1.i1 is " + i1); i1++; Console.WriteLine("2.i1 is " + i1); i1--; i1--; Console.WriteLine("3.i1 is " + i1); Console.ReadLine();

this is a code that shows the use of the incrementer and decrementer.

Questions about programming?Chat with your personal AI assistant