Computer Science, asked by marcoline, 1 year ago

<b><marquee>HEY!!! </marquee> HERE'S YOUR QUESTION>> Q. (I AM IN CLASS 10 I TOOK pheas a subject in class 9 but now in class 10 i took computer so i am getting promblem in java can u tell how to write programs step by step and how to use public void sum main )
Thanks in advance ​

Answers

Answered by aaradhya55
1

The Programming Process

Developing a program involves steps similar to any problem-solving task. There are five main ingredients in the programming process:

  • Defining the problem
  • Planning the solution
  • Coding the program
  • Testing the program
  • Documenting the program

Access

Picture of Access

1. Go to https://repl.it

2. In search bar, type in "java": This indicates the programming language for the site.

Add TipAsk QuestionCommentDownload

Step 2: Setup

Picture of Setup

Picture of Setup

Picture of Setup

Picture of Setup

1. Click on Blue "examples" : A line will appear on the first line on the input box saying: "Not sure what to do? Run some examples" The word 'examples' in the phrase will link you to the correct page.

2. From Example Page, click on "Hello World" example code box.

3. Click the "Run" button at the top of the page.: This button is next to the "Share" and "Save" buttons.

The phrase "hello world" should appear in the black 'output' box on the right side of the screen.

Step 3: Code Block 1: Variables

Picture of Code Block 1: Variables

In Block 1, you will be assigning variables as an integer value. (i.e. a=3, b=4, c=-4)

1. Highlight and delete the entire line ONLY ON LINE 3 that says “System.out.println(“Hello world”);”

Note: DO NOT DELETE BRACES ("}") ON LINES 4 AND 5.

All code will come before these braces. These are needed to complete and run the code.

2. On the same line (line 3), type out

double a = 3;

3. Press "enter" on your keyboard and then type out

double b = 4;

4. Press "enter" and then type out

double c = -4;

A double is a Java expression that means a number

I know this only

plz mark as brainliest ans plz I need it most for Ace

follow me

chat me inbox

thanks

Answered by preeti58jj
0

see this attachment for the answer

Similar questions