Tag Archives: Program Java

ICSE Java Program -Java Program to develop a Calculator using Switch Statement

ICSE Java Program -Java Program to develop a Calculator using Switch Statement¬† Java Program to develop a Calculator using Switch Statement. import java.io.*; class Calculator_Switch { public static void main(String args[])throws IOException { DataInputStream dis = new DataInputStream(System.in); int a,b,c,res=0; char op; String str; System.out.println(” Enter three Numbers : “); a=Integer.parseInt(dis.readLine()); b=Integer.parseInt(dis.readLine()); System.out.println(” Enter the […]

ICSE Java Program – Java Program to develop a Calculator using Ladder If Statement

ICSE Java Program – Java Program to develop a Calculator using Ladder If Statement Java Program to develop a Calculator using Ladder If Statement. import java.io.*;   class Calculator { public static void main(String args[])throws IOException { DataInputStream dis = new DataInputStream(System.in); int a,b,c,res; char op; System.out.println(” Enter three Numbers : “); a=Integer.parseInt(dis.readLine()); b=Integer.parseInt(dis.readLine()); System.out.println(” […]

ICSE Java Program – Java Program to given Character is a Digit, Letter or a Special Character If-Else Statements

ICSE Java Program – Java Program to given Character is a Digit, Letter or a Special Character If-Else Statements import java.io.*; class Check1 { public static void main(String args[])throws IOException { DataInputStream dis = new DataInputStream(System.in); char ch ; System.out.print(” Enter a character : “); ch = (char) dis.read(); if(ch>=’a’&& ch<=’z’ || ch>=’A’&& ch<=’Z’) { […]

ICSE Java Program – Java Program to whether the number is even or odd using If-Else statements

ICSE Java Program -¬†Java Program to whether the number is even or odd using If-Else statements Java Program to whether the number is Even Or Odd using If-Else Statements. import java.io.*;   class EveOdd { public static void main(String args[])throws IOException { DataInputStream dis = new DataInputStream(System.in); int n; System.out.print(” Enter a Number : “); […]

ICSE Java Program – Java Program to find the largest of three numbers using Simple If Statement

ICSE Java Program – Java Program to find the largest of three numbers using Simple If Statement Java Program to find the largest of three numbers using Simple If Statement. import java.io.*;   class Simple_If { public static void main(String args[])throws IOException { DataInputStream dis = new DataInputStream(System.in); int x,y,z,max=0; System.out.println(” Enter three Numbers : […]