Java All : Expressions Statements and Formula Based Calculations

This is a java program in which we will find out the volume of a cuboid whose dimensions are given.

This is a program to learn the use of compatability of data types with certain different type of values.

Finding the circle area with PI initialised to an unchangeable value.

Building of expressions can be done for different units using different divisors.

Swapping of value between two integer variables using the intermediate third variable.

Swapping of value between two integer variables without using the third variable.

Creating formulas that contain powers and square root.

Forming expressions with simple variables.

Forming expressions with operands of same data type and mixed data types.

Demonstration of different types of java statements.

Demonstration of use of blocks in java.

Write the java syntax for the following formula
x= 0.01 - ab^3 / ab
...

Write a java program to calculate the average of three fixed integers 10,15 and 18 . The o ...

A thread of length 25 centimeters was wound around a cylindrical pencil. It was seen that ...

Write a java program to calculate the amount to be received on a principal amount of 5000 ...

A man walks at an average speed of 5 Km/Hour. The train station is at 6.5 Km distance. He ...

Evaluate the following expression using the correct precedence and other evaluation rul ...

Each of the following lines are a different type of statement in Java. Identify them.
int ...

Write a Java expression for the following:
ax^{5} + bx^{3} + c
...

Identify the statements listed below as assignment, increment, method invocation or object ...

What are the values of a and b after the following function is executed, if the values pas ...

Write a Java expression for the following:

What is the value of y after evaluating the expression given below?
y+=++y + y-- + --y; ...

Give the output of the following expression :
a+=a++ + ++a + -–a + a-– ; when a = 7 ...

Write the Java expression for: a^{2}+b^{2}/2ab ...

If int y = 10 then find int z = (++y * (y++ + 5)); ...

Write a Java expression for the following:
ax^{5} + bx^{3} + c
...

Using the switch statement. write a menu driven program to calculate the maturity amount o ...

Concept Notes:1 Code Sheets:11 Solved Problems:8 Exam Questions:9 Quizzes:3

×