Codings
Points
Program Practice
JAVA Programming Practice
← Previous Topic
Topic 1 of 43: Java Programs Without Scanner
Next Topic →
1. Java Programs Without Scanner
1.1 Write a program to perform addition, subtraction, multiplication, and division without using Scanner. Hint: Use fixed values like int a = 10, b = 20.
▼
1.2 Write a program to find the area of a square without using a Scanner. Hint: Use a fixed side value.
▼
1.3 Write a program to find the area of a rectangle without using a Scanner. Hint: Use fixed length and breadth.
▼
1.4 Write a program to find the area of a triangle without using a Scanner. Hint: (base × height) / 2.
▼
1.5 Write a program to find the area of a circle without using a Scanner. Hint: 3.14 × radius × radius.
▼
1.6 Write a program to calculate simple interest without using a Scanner. Hint: Use fixed P, R, T values.
▼
← Previous Topic
Topic 1 of 43: Java Programs Without Scanner
Next Topic →
‹
Previous
1
(current)
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
›
Next