Skip to content

Instantly share code, notes, and snippets.

View haliknihudas666's full-sized avatar
😈
Demon under code.

Nicolei Esperida haliknihudas666

😈
Demon under code.
View GitHub Profile
@haliknihudas666
haliknihudas666 / numberwords.java
Last active February 14, 2023 08:15
Number to Words GUI using Java Swing
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package esperida;
/**
*
* @author cl7-15
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package esperida;
import java.util.Scanner;
/**
import 'dart:async';
int fl = 100;
int fr = 100;
int rl = 100;
int rr = 100;
int ps = 100;
int _fl = 50;
int _fr = 50;
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
void main() {
var numbers = [1,2,3,4,5,6,7,8,9,10];
for(var count = 0; count < numbers.length; count++){
if(isEven(numbers[count])){
print(numbers[count]);
}
}
}
void main() {
var numbers = {1,2,3,4,5,6,7,8,9,10};
numbers.forEach((value) => {
if(isEven(value)){
print(value)
}
});
}
bool isEven(int number) {
exports.run = async (client, message, floor, level) => { // eslint-disable-line no-unused-vars
var floor17 = "744906832430104607";
var floor16 = "744906785449574501";
var floor15 = "744906708207534090";
var floor14 = "744906579735871589";
var floor12 = "744906380837650473";
var floor11 = "744906487893065852";
var floor10 = "744906375213088939";
import 'package:flutter/material.dart';
import 'package:flutterplayground/theme/colors.dart';
class VehicleSelector extends StatefulWidget {
VehicleSelector({Key key}) : super(key: key);
@override
_VehicleSelectorState createState() => _VehicleSelectorState();
}
module.exports = async (reaction, user) => {
if (user.bot) return;
var role = reaction.message.guild.roles.cache.find(r => r.name === 'Verified Apprentice');
var member = reaction.message.guild.members.cache.find(member => member.id === user.id);
var sendtochannel = reaction.client.channels.cache.find(channel => channel.name === 'bot-spam');
var ruleschannel = reaction.client.channels.cache.find(channel => channel.name === 'rules-and-info');
if (reaction.message.channel.id === ruleschannel.id) {
if (reaction.emoji.name === 'βœ…') {
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter Grade: ");
double gradein1 = in.nextDouble();
System.out.print("Enter Grade: ");