Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
public class ConditionalIncrement {
public void run() {
Integer count = 3;
if(count < 5) count++;
System.debug('Counter: ' + count);
}
}
ConditionalIncrement ci = new ConditionalIncrement();
ci.run();Coding works best on desktop or with an external keyboard.