Just created a simple login form, nothing professional, just started out, so you know what to expect :)
A Pen by Dylan Dsouza on CodePen.
| class Complex: | |
| def __init__(self, a = 0, b = 0): | |
| self.a = a | |
| self.b = b | |
| def __repr__(self): | |
| if self.b >= 0: | |
| return '{:0.2f}+{:0.2f}i'.format(self.a, self.b) | |
| else: | |
| return '{:0.2f}-{:0.2f}i'.format(self.a, abs(self.b)) |
| import java.util.Scanner; | |
| public class DemoClass { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| int upperCaseCount = 0, | |
| lowerCaseCount = 0, | |
| spacesCount = 0, |
| #include <stdio.h> | |
| #include <malloc.h> | |
| #define R return | |
| struct node { int data; struct node* left; struct node* right; }; | |
| struct node* insert(struct node* tree, int val) | |
| { | |
| if (tree == NULL) { | |
| tree = (struct node*) malloc(sizeof(struct node)); | |
| tree->left = NULL; |
| int count = 0; | |
| int sum = 0; | |
| byte a; | |
| void setup() { | |
| Serial.begin(9600); | |
| } | |
| void loop() { | |
| /* |
| #include <stdio.h> | |
| #define MAX 10 | |
| struct date { | |
| int year; | |
| int month; | |
| int date; | |
| }; | |
| struct Student_record { |
| #include <stdio.h> | |
| int main(){ | |
| int a,b,c,d; | |
| int n = 5; | |
| for(a=1; a<=n; a++){ | |
| char x = 'G'; | |
| for(b=1; b<=n-a; b++) | |
| printf(" "); | |
| for(d=a; d>=1; d--) | |
| printf("%d",d); |
| The MIT License (MIT) | |
| Copyright (c) 2016 Dylan Dsouza | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| >>> 1 + 1 |
Just created a simple login form, nothing professional, just started out, so you know what to expect :)
A Pen by Dylan Dsouza on CodePen.
| #include <iostream> | |
| using namespace std; | |
| int main(){ | |
| for(int a = 1;a <= 5;a++){ | |
| for(int b = a; b > 0;b--){ | |
| cout<<b<<" "; | |
| } | |
| cout<<endl; |