Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78946418
fpe.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 23, 22:21
Size
576 B
Mime Type
text/x-c
Expires
Sun, Aug 25, 22:21 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20126633
Attached To
R9360 PCSC_git
fpe.cc
View Options
/* -------------------------------------------------------------------------- */
#include <iostream>
/* -------------------------------------------------------------------------- */
int
divint
(
int
a
,
int
b
)
{
return
a
/
b
;
}
/* -------------------------------------------------------------------------- */
int
main
()
{
int
x1
=
5
,
y1
=
2
;
std
::
cout
<<
divint
(
x1
,
y1
)
<<
std
::
endl
;
int
x2
=
3
,
y2
=
0
;
int
res
=
divint
(
x2
,
y2
);
std
::
cout
<<
res
<<
std
::
endl
;
return
0
;
}
/* -------------------------------------------------------------------------- */
Event Timeline
Log In to Comment