pastebin
Add a new paste
View all pastes
Change language
Dutch
English
French
Russian
menu
URL Shortener
Multiple URL shortener
browser info
Whois IP and domain lookup
Capture a Website screenshot
Disqus Chatroom
Registration
pastebin
Paste Search Dynamic
Recent pastes
Binance
4 hours ago
Jsonutility argumentexception
5 hours ago
base OnStartAuthority
5 hours ago
NetworkClient AddPlayer
5 hours ago
WebGL Failed to load resource
5 hours ago
Unity err memory
5 hours ago
Unity Package Cache error
5 hours ago
JNI Error
5 hours ago
GLFW Error
5 hours ago
Process crashed
5 hours ago
pow ps ar
#include <iostream>
#include <math.h>
using
namespace
std;
int
main
(
)
{
int
ar
[
7
]
=
{
36
,
9
,
4
,
16
,
25
,
1
,
49
}
;
int
ps;
for
(
int
i=
0
; i<
5
; i++
)
{
ps=
1
;
while
(
pow
(
ps,
2
)
<=ar
[
i
]
)
{
if
(
pow
(
ps,
2
)
==ar
[
i
]
)
cout<<ar
[
i
]
<<
' '
;
ps++;
}
}
}
Parsed in 0.005 seconds