Skip to content

Instantly share code, notes, and snippets.

//joanna wilbur
import java.util.*;
public class proj6q8
{
public static void main(String[]args)
{
Scanner input = new Scanner(System.in);
int [] UsersArray = new int[100];
int ArraySize;
//joanna wilbur
import java.util.*;
public class proj6q8
{
public static void main(String[]args)
{
Scanner input = new Scanner(System.in);
int ArraySize;
System.out.println("How many integers are in the sequence?");
public class euler1
{
public static void main(String[]args)
{
int sum=0;
for (int i=1; i<1000; i++)
{
if (i%3==0 || i%5==0)
sum+=i;
}