Question: Lisa is hosting a party, during which she has planned for surprise gifts for her guests. The guests while entering the hall should...
Read More
Showing posts with label JavaPrograms. Show all posts
Showing posts with label JavaPrograms. Show all posts
Currency Calculator Program in java
Question: Write a program to convert dollars into Indian money. The currency calculator is capable of converting only USA, Canada, Singapore...
Read More
Prime numbers ending with one Program in java
Question: Write a program that prints a series of prime numbers that end with 1. Prompt the user for the first number (n1) and the last numb...
Read More
Pair of Two digits Program in java
Question: Write a program that accepts a pair of two digit numbers which satisfies the following condition. The product of the numbers shoul...
Read More
Count at the Cow barn Program in java
Question: Tom was standing outside a cow barn. A group of men was appointed to take care of the cattle. All Tom could see was’ heads and ‘n’...
Read More
Multiplying adjacent numbers Program in java
Question: Write a program that prints a sequence of numbers by slightly modifying the Fibonacci series. The series of numbers is created by ...
Read More
Factors of a Number Program in java
Question: Betsy teaches her daughter to find the factors of a given number. When she provides a number to her daughter, she should tell th...
Read More
Check for Leap Year Program in java
Question: Given a year, check if the year is leap year or not. If yes, the output should be “Leap Year”. Else output should be “Not a Leap ...
Read More
Java Celcius to Farenheit Conversion Program in java
Question: Write a program to convert Celsius to Farenheit. Display the result correct to 1 decimal. Create a class “CelsiusConversion.java...
Read More
Subscribe to:
Posts (Atom)