PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
9 sec ago
Ngu Custom Command :troll:
12 sec ago
Untitled
Java | 12 sec ago
Best
12 sec ago
Untitled
20 sec ago
Untitled
21 sec ago
Untitled
22 sec ago
Untitled
24 sec ago
Untitled
By: a guest on
Sep 2nd, 2012
| syntax:
None
| size: 0.38 KB | hits: 10 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
#include<stdio.h>
int main(){
struct point{
int x,y;
};
struct point p1,p2;
int alan;
p1.x=2;
p1.y=6;
p2.x=5;
p2.y=2;
alan=(p1.y-p2.y)*(p2.x-p1.x);
printf("%d",alan);
getch();}
create a
new version
of this paste
RAW Paste Data
#include<stdio.h> int main(){ struct point{ int x,y; }; struct point p1,p2; int alan; p1.x=2; p1.y=6; p2.x=5; p2.y=2; alan=(p1.y-p2.y)*(p2.x-p1.x); printf("%d",alan); getch();}