Startup and Tech
Friday 24 July 2020
Codeforces 281A Solution - Word Capitalization Solution In Java
Program
import java.util.*; public class x { public static void main(String args[]) { int i = 0; Scanner sc = new Scanner(System.in); String s = sc.next(); char ch[] = s.toCharArray(); if(s.length()<1000) { for(i=0;i<1;i++) { System.out.print(Character.toUpperCase(ch[0])); } for(i=1;i
Output
I/P: ApPLe o/p: ApPLe
Codeforces 339A - Helpful Maths Problem Solution In Java
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment