No products in the cart.

Design a gui programme in java …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Design a gui programme in java to convert kilogram into gram litere into mililitre
  • 1 answers

Sia ? 5 years, 4 months ago

import java.util.Scanner;
public class MathUnitConversions9 {
public static void main(String[] args) {
double kilograms;
Scanner in = new Scanner(System.in);
System.out.println("Please enter kilograms:");
kilograms = in.nextDouble();
double grams = kilograms * 1000;
System.out.println(grams + " Grams"); } }

http://mycbseguide.com/examin8/

Related Questions

Founder of python
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App