Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 21st, 2018
115
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
function main() {
var s = readLine();
var count = 1;
for (let i = 0; i < s.length; i++) {
if (s[i] === s[i].toUpperCase()) {
count++
}
} console.log(count);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
S.T.U.P.I.D.
Lua | 4 min ago | 0.13 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 22 min ago | 0.39 KB
tabulate_wikidata_demo
Python | 38 min ago | 3.53 KB
Código Aula 4
C++ | 40 min ago | 0.35 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 45 min ago | 0.38 KB
OMW7 Remottemount2
Bash | 51 min ago | 4.69 KB
OMW7 Remottemount1
Bash | 53 min ago | 4.64 KB
AI Generated Class 01
Python | 54 min ago | 2.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!