Skip to main content

Posts

Showing posts from March 18, 2020

Programming for Problem Solving JAVA

List of Experiment (1) Write a Program that displays Welcome to Java, Learning Java Now and Programming is fun. Program Code (2) Write a program that solves the following equation and displays the value x and y:1)3.4x+50.2y=44.5  2) 2.1x+.55y=5.9 (Assume Cramer’s rule to solve equation  ax+by=e     x=ed-bf/ad-bc      cx+dy=f      y=af-ec/ad-bc ) Program Code (3) Write a program that reads a number in meters, converts it to feet, and displays the result. Program Code (4) Body Mass Index (BMI) is a measure of health on weight.  It can be calculated by taking your weight in kilograms and dividing by the square of your height in meters.  Write  a  program that prompts the user to enter a weight in pounds and height in inches and displays the BMI.Note:-1 pound=.45359237 Kg and 1 inch=.0254 meters. Program Code (5) Write a program that prompts the user to enter three integers and display the integers in decreasing order. Program Code (6) Write a program that prompts the user to enter a lette

Contact Form

Name

Email *

Message *