Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 210 Bytes

example-1.md

File metadata and controls

11 lines (10 loc) · 210 Bytes
int result=0;
for(int i=1; i<21; i++){
    if ((i%3)==0){
        result= result +i;
    } 
}
Console.WriteLine($"The result is {result}");

Back to Index |Back to Loops