Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
/* Program to Calculate Interest */
include
<
stdio.
h
>
include
<
conio.
h
>
main
(
)
{
int
p
,
n
;
float
r
,
si
;
printf
(
“Enter the values
for
p
,
n
,
and r
:
”
)
;
scanf
(
“
%
d
%
d
%
f”
,
&
p
,
&
n
,
&
r
)
;
si
=
p
*
n
*
r
/
100
;
printf
(
“
%
f”
,
si
)
;
getch
(
)
;
}