using System;
class HelloWorld {
static void Main() {
int s = 0;
for (int i = 50; i <= 100; i++)
if(i % 6 == 0)
s += i;
Console.WriteLine(s);
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
using System;
class HelloWorld {
static void Main() {
int s = 0;
for (int i = 50; i <= 100; i++)
if(i % 6 == 0)
s += i;
Console.WriteLine(s);
}
}