Skip to content

Instantly share code, notes, and snippets.

View xXFracXx's full-sized avatar
🎯
Focusing

Shashank Pincha xXFracXx

🎯
Focusing
View GitHub Profile
import java.util.*;
import static java.lang.System.out;
class Student {
int RegNumber;
String FullName;
GregorianCalendar Date;
short Semester;
float GPA, CGPA;
public static int count = 1;
Student () {
import java.util.Scanner;
import java.util.*;
import static java.lang.System.out;
public class Ques4 {
public static void main(String[] Args) {
Scanner in = new Scanner(System.in);
int n, c;
boolean ch;
out.print("Enter Number: ");
n = in.nextInt();
@xXFracXx
xXFracXx / gist:257f0c3fbb0298bacf68
Created September 17, 2014 08:34
Google Form Custom Style
<script type="text/javascript">var submitted=false;</script>
<iframe name="hidden_iframe" id="hidden_iframe"style="display:none;" onload="if(submitted){window.location='http://artexforcharity.com/index.html#contact';}"></iframe>
<form action="https://docs.google.com/forms/d/1pQHOjtCz6gHXCuxqCPQL213cAXiBhpoHx9LnJukf3o4/formResponse" method="post" target="hidden_iframe" onsubmit="submitted=true;">
<div class="form-group row">
<div class="col-md-8">
<input class="form-control col-md-6" type="text" name="entry.1304118505" id="entry_1304118505" placeholder="Enter EMail ID">
</div>
</div>
<div class="form-group row">
<div class="col-md-8">
@xXFracXx
xXFracXx / gist:8921242
Last active August 29, 2015 13:56
D) Queues [Array]
//Queue using array
#include<iostream.h>
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<ctype.h>
class queue
{
public:
@xXFracXx
xXFracXx / gist:8921226
Last active August 29, 2015 13:56
C) Stack [Array]
//Stack as an array
#include<iostream.h>
#include<string.h>
#define MAX 100
#include<process.h>
int top;
struct abc
{
@xXFracXx
xXFracXx / gist:8921198
Created February 10, 2014 18:13
B) Queues [Linked List]
//Queue using linked list
#include<iostream.h>
#include<stdlib.h>
#include<stdio.h>
#include<conio.h>
#include<ctype.h>
struct node
{
char name[20];
@xXFracXx
xXFracXx / gist:8921178
Created February 10, 2014 18:11
A) Stacks [Linked List]
//Stacks using linked list
#include<iostream.h>
struct node
{
char name[20];
int age;
node *link;
};