Skip to main content

Posts

Featured

Percentage calculator (java project)

Code:- import java.util.Scanner; public class percentcalculator{     public static void main (String []args){     Scanner x = new Scanner(System.in);     System.out.println ("Enter a number:");     Double a = x.nextDouble();     Scanner y = new Scanner(System.in);     System.out.println ("Enter percentage:");     Double b = y.nextDouble();     Double c = a*b;     Double d = c/100;     System.out.println (b + "% of " + a + " is: " + d);     } } Output:- Run using https://www.jdoodle.com/online-java-compiler or any other decoder.

Latest posts

How to calculate 1+2+3+4+.........n

How to download Tekken 6 for PC

All Blender Shortcuts

How to play as Azazel and Nancy robot in tekken 6 ...

How to play as Azazel and Nancy robot in tekken 6 psp

Poem: A Railway Junction