Java Programs

Tuesday, 20 May 2014

Standard Deviation Of A Sentence

›
Write a program to input a piece of text consisting of sentences terminated by either ‘.’ or ‘!’ or ‘?’. The program should output the me...
Tuesday, 29 October 2013

Catalan Numbers

›
/*Catalan Numbers are the numbers of the form: (2n)!/((n!)^2*(n+1))*/ import java.util.Scanner; class Catalan { public static void main(Str...

Time Conversion

›
import java.util.Scanner;     public class Conversion     {         public static void main(String[]args)         {             Scanner in=...

Mersenne Numbers

›
/*Check if a number is mersenne number or double mersenne number Mersenne Numbers are the Numbers which are one less than a power of 2 i.e....
Monday, 28 October 2013

Printing a sentence in reverse order of words

›
 /*The input in this problem will consist of a number of lines of English text consisting of the letters of the English alphabet, the punct...
Sunday, 27 October 2013

Java - Whats It?

›
Java is a computer programming language that is concurrent , class-based , object-oriented , and specifically designed to have as f...
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.