Write a java program to take a character as input, find its assci code and then reverse it and print corresponding character. And check whether it’s an vowel or not.

3 years ago

import java.util.*; class Reverse_AssciCode { public static void main() { Scanner Sc=new Scanner(System.in); System.out.println("Enter the Character"); char c=Sc.nextLine().charAt(0); int ca=(int)c;…

Write a java program to compute net pay after deducting tax of 15% from the gross pay

3 years ago

Write a java program to compute net pay after deducting tax of 15% from the gross pay. Write a program…

WAJP to create a function that accepts two numbers and an operator as arguments and returns the resultant value.

3 years ago

import java.util.*;class function{public static double gen(double i1,double i2,char c1){double i3=0;switch(c1){case '+':i3=i1+i2;break;case '-':i3=i1-i2;break;case '*':i3=i1*i2;break;case '/':i3=i1/i2;break;case '%':i3=i1%i2;break;}return i3;}public static void main(){ Scanner…

Write a java program to read a positive integer from the console and find out whether it is an automorphic number or not.

3 years ago

Automorphic numbers are those which are found on the extreme right side of their square.For example : - 5=25 6=36…

How to write a java program to accept n numbers as input from user till user inputs 0, the program will terminate when user inputs 0, after terminating the sum of all positive numbers and sum of all negative numbers will be displayed on screen.

3 years ago

import java.util.*;class Nums_Sum{public static void main(){Scanner in=new Scanner(System.in);double n=0,sp=0,sn=0;do{System.out.println("Enter number ");n=in.nextDouble();if(n>0)sp=sp+n;if(n<0)sn=sn+n;if(n==0)System.out.println("0 input terminating.");}while(n!=0);System.out.println("Sum of positive number "+sp);System.out.println("Sum of negative number…

How to write a java program to accept a number as input from user and check whether it is a special number or not.

3 years ago

import java.util.Scanner;class Special_Number{public static void main(){Scanner sc = new Scanner (System.in);System.out.println("Enter any no.");int n = sc.nextInt ();int f = 0;int…

Top 5 Anime to watch as a beginner.

3 years ago

Firstly what is an anime:---- An anime basically is an animated cartoon.it have several types of generes like: *Romance   *action   …

WAJP to create a function that accepts an integer and find and prints the factorial of integer.

3 years ago

import java.util.*;class factorial{public static void fact(int n){int i=0,f=1;for(i=1;i<=n;++i)f=f*i;System.out.println(f);}public static void main(){Scanner in=new Scanner(System.in);System.out.println("Enter a number to find its factorial");int inp=in.nextInt();fact(inp);}}…

How to write a java menu driven program to check whether the given number is automorphic Or buzz number.

3 years ago

import java.util.Scanner;class AutomorphBuzz{public static void main(){Scanner kb=new Scanner(System.in); System.out.println("Enter a number to check whether a number is an Automorphic or…

Top 5 Offline racing games for android under 200 mb.

3 years ago

1.Hot Wheels Race off. It is one of the most thrilling and exciting racing game with a lot of cars.…