Advertisements

Computer class 10 Assignment

||Playing Hand Cricket Game Against Computer is full of fun|| Source Code:----- import java.io.*; …

Write a program in java to remove zero from a number

INPUT:-02305 OUTPUT:-235 //To remove zero from a number using String import java.io.*; class zero$…

Write a program in java to print following.(e.g. BLUEJ)

INPUT:-BLUEJ OUTPUT:-    B                       L                       U                       E …

Write a program in java to accept a Binary number and convert into its decimal equivalent.

import java.util.Scanner; class bin_deci { public static void main(String args[]) { Scanner sc= ne…

Write a program in java to enter date and print the day on that date.

import java.util.Scanner; class calendar { public static void main(String args[]) { Scanner sc= ne…

Write a menu driven program to print following :-

1.) S=0+3+8+15+24.... n th  term 2.) S=1+a 2 /1!+a 3 /2!+a 4 /3!... n th term. import java.util.Scanner; cl…

Write a program in java to add matices

import java.util.Scanner; class Matrix_leftDiagonalAdd { public static void main(String[]args) { S…

Write a program in java to check whether a number is positive or negative integer.

import java.util.Scanner; class intcheck { public static void main(String args[]) { Scanner sc= ne…

Write a program in java to convert Hexdecimal to binary

import java.util.Scanner; class hexadecimal_to_binary { public static void main(String[]args) { Sc…

Write a program in java to enter the amount spend print the gift according

AMOUNT          GIFT 1.>=500                 Key Ring 2.>500&>=1000    Leather Pur…

Write an application that inputs a line of text and output the text twice once in upper case and in lower case letters

import java.util.Scanner; class e3 { public static void main(String args[]) { Scanner sc=new Scann…

Write a program using do loop to exit only when zero is entered.

import java.io.*; class do_loop { public static void main(String [] args)throws IOException { Buff…

Write a program in java to count no. of Rs 50,20,10,5,2 and 1 notes in certain amount

import java.util.Scanner; class count_notes { public static void main(String[]args) { Scanner ob=n…

Write a program in java to check whether the entered character is upper case alphabet, lower case alphabet, digit or special character

import java.util.Scanner; class charcheck { public static void main(String args[]) { Scanner sc= n…

Write A program in java to multiply matrices.

import java.util.Scanner; class matrix_multiply { public static void main(String[]args) { Scanner …

Write a program in java to find the highest common factor(HCF)

import java.io.*; class hcf { public static void main(String [] args)throws IOException { Buffered…

Java program to check whether a number is armstong or not

import java.util.Scanner; public class find { public static void main(String[] args) { System.out.pr…

Java program to find factors of a number

import java.util.Scanner; public class factor { public static void main(String[] args) { System.out.…

WAPJ in Java program to print fibonacci series

import java.util.Scanner; public class fibonacci { public static void main(String[] args) { Scanner…

Java program to check whether a number is duck number or not

NOTE:-A Number is said to be duck number when there's a zero in number. Ex:- 2014 import java.…