Write a program to read a non-negative integer n, compute the sum of its digits. If sum is greater than 9 repeat the process and calc...
Home
Java
Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts
Java Questions :Color Code
Write a program to read a string and validate whether the given string is a valid color code based on the following rules: - Must st...
Java Questions :Simple String Manipulation
Write a program to read a string and return a modified string based on the following rules. Return the String without the first 2 ...
Java Questions :getLuckySum
Write a Program that accepts three integer values (a,b,c) and returns their sum. However, if one of the values is 13 then it...
Java Questions : Remove 10's
Write a program to read an integer array and remove all 10s from the array, shift the other elements towards left and fill the traili...
Subscribe to:
Posts
(
Atom
)
loading...