Skip to content

Instantly share code, notes, and snippets.

View LisGein's full-sized avatar

Noa Alice LisGein

  • Munich, Germany
View GitHub Profile
public class FuzzyWuzzy
{
public static void main(String[] args)
{
int x;
for (x = 1; x <= 100; x++)
{
if (x % 3 == 0)
System.out.print("Fuzzy");
if (x % 5 == 0)
@LisGein
LisGein / Task 1
Last active August 29, 2015 14:04
import javax.swing.*;
import java.util.Arrays;
public class task
{
public static void main(String[] args)
{
String input = JOptionPane.showInputDialog("введите число n");
int n = Integer.parseInt(input);
int[] arr = new int[n];
@LisGein
LisGein / task 2
Last active August 29, 2015 14:04
import javax.swing.*;
import java.util.Arrays;
import java.util.Scanner;
public class task2
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
String input = JOptionPane.showInputDialog("введите число n");
@LisGein
LisGein / task 4
Last active August 29, 2015 14:04
import java.util.Arrays;
import java.util.Random;
public class task4
{
public static void main(String[] args)
{
long start = System.currentTimeMillis();
Random random = new Random();
int[] arr = new int[1000];
@LisGein
LisGein / task 5
Last active August 29, 2015 14:04
import javax.swing.*;
import java.awt.*;
public class task5
{
public static void main(String[] args)
{
JFrame f = new JFrame();
InputPanel ip = new InputPanel();
int res = JOptionPane.showConfirmDialog(f, ip, "Enter data",
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.text.DecimalFormat;
import java.util.TimerTask;
#include <iostream>
using namespace std;
int main()
{
int x;
for (x = 1; x <= 100; x++)
{
if (x % 3 == 0)
cout << "Fuzzy";
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int n;
cout << "Vvedite chislo n" << endl;
cin >> n;
int *arr = new int[n];
#include <iostream>
using namespace std;
int main()
{
int n;
cout << "Enter n" << endl;
cin >> n;
int *arr = new int[n];
int i = 0;
#include "stdafx.h"
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int n;
cout << "Enter size your array(more than 4, but less than 48):" << endl;
cin >> n;