Codings
Points
Your Coding Journey Starts Here
Quiz
Practice
HTML
CSS
Advance CSS
JavaScript
JSDOM
Advance JavaScript
React
Bootstrap
Tailwind
NodeJS
Express
PHP
C
C++
Java
Python
Django
JSP
Servlet
Spring
Hibernate
MongoDB
MySQL
PostgreSQL
Firebase
Practice with interactive coding exercises
Previous Topic
1.
Java Programs Without Scanner
6 Questions
Next Topic
1
Write a program to perform addition, subtraction, multiplication, and division without using Scanner. Hint: Use fixed values like int a = 10, b = 20.
2
Write a program to find the area of a square without using a Scanner. Hint: Use a fixed side value.
3
Write a program to find the area of a rectangle without using a Scanner. Hint: Use fixed length and breadth.
4
Write a program to find the area of a triangle without using a Scanner. Hint: (base × height) / 2.
5
Write a program to find the area of a circle without using a Scanner. Hint: 3.14 × radius × radius.
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
1
2
3
4
5
6
7
8
9
10
...
43
CodingsPoints - Your Coding Point for HTML, CSS & JavaScript Tutorials