Computer Science, asked by adi113, 1 year ago

how to make project on java programming


QGP: You have any theme?
adi113: ya i can make a scientific calculator or any game like kbc
QGP: And you want a school level project or a college level project?
adi113: school level
QGP: Okay, so you want the entire code, or just the steps of how to do it?
adi113: only steps
QGP: Okay
adi113: will work
adi113: whats your name bro
QGP: I'm Purva

Answers

Answered by Arvind1234
0
Hello there
The Concept you have selected is Higher standard so actually you may require Good Data
I will help u to get Some Better Data for the Presentation.
First we will concentrate on Its Evolution and Date .
Secondly we need to Collect data about the Programming languages like c,C++,etc
Thirdly We must compare Those programmable languages with Java and discuss about Pros and Cons.
Now we need to give the structure of Java Programe.
Now we must give an Example of one Basic program and don't forget to Mention software required to Use Java Code .
Im pretty sure these points will get u marks and Skills
Hope u may follow these steps☺☺
Answered by QGP
6
Hello @Adi113,

Here I will show you how to make a
Scientific Calculator.

1) First, you must understand the different functions of a scientific calculator.

There are different functions like
• Trigonometric
• Exponential
• Logarithmic
• Permutation
• Combination,

and of course the basic arithmetic operations involving addition, subtraction, multiplication and division.

2) Now, you must create a menu-driven program. The choices would show the different mathematical operations available.

3) In each menu-case, you must take the necessary input, and then perform the operation and print the output.

4) You must set a loop so that the program repeats until exit command choice is issued through the menu-cases.

Otherwise, what will happen is you will have to run the program each individual time to test it. This will also be frustrating for your teacher.

• Your program must be user-friendly. Don't take unnecessary inputs, don't use unnecessary variables.

• Use comment lines to show the logic at different places. This will really help your teacher if s/he wants to look at your code.


→ Note: Don't forget to reset the value of variables for each loop. Or else you won't get proper answers.

___________________________
Now, you might need some help in different mathematical operations:

Preferably, use Float or Double Data Types. They will give you good accuracy of answers.

• The code for Addition, Multiplication, Subtraction and Division can be directly incorporated in the main function itself.

• Moreover, there are direct commands for some functions.
Eg. Math.pow(a,n) = aⁿ

These will cover most of your remaining categories.

[Proceed only if you know about Permutations and Combinations]

• The code is a bit trickier for Permutation and Combination

Now mPn = (m!) / (m-n)!
And mCn = mPn / n!

Thus, you will need to find factorial.
Also, n! = n×(n-1)×(n-2)×...×3×2×1

So, here the best idea would be to use a function which calculates factorial of a given number. You can then call that function into the main function and proceed appropriately.

Hope I have helped you.

QGP: Please mark as brainliest if you like it
Similar questions