Skip to content

Instantly share code, notes, and snippets.

View nadaa's full-sized avatar

Nada Ghanem nadaa

  • University of Klagenfurt
View GitHub Profile
@nadaa
nadaa / app.js
Last active March 9, 2018 11:23
Cat click version 1
// model
$(function(){
var Cat =function(name,img)
{
this.name=name;
this.img=img;
this.clickCount=0;
}
a=[1,2,1,3,4,2,5,6,7,7,6]
b=[3,4,6,8,9,3,4]
a=set(a)
b=set(b)
c=list()
for i in a:
if i in b:
c.append(i)
print c
#include<iostream.h>
void main()
{int i;
cin<<i
cout<<"Hello"<<i;
}