LET''S GET ACQUAINTED!




“The ability to program has become the fourth component of literacy. Everyone needs to know how our digital world works, not just engineers, ”
- said Mark Serman, executive director of the Mozilla Foundation.

Programming. Why study if there are many ready-made programs for computers? Yes, there are really many ready-made programs. But as practice shows, there are always tasks that are not solved by standard means. In this case, you have to create your own (or modify the existing) program.

And yet you can say that programming is not for you, that you are inclined to the humanities. So why all the same is it needed?
Firstly, we live in the age of information technology. Computer technology surrounds us everywhere. Knowing how it works is just useful.
Secondly, learning programming helps people think abstractly and divide the task into small parts.

Our courses will allow you to step-by-step learn programming from basic skills to solving complex problems.

This course is devoted to the study of the most popular programming language - the C++ language. Many modern languages ??are C-like. Therefore, having studied this programming language, you can easily learn any other.

Working with the course you will gradually develop your skills. Starting with the basics of programming, you will soon be able to bring your skills to perfection by solving complex tasks. To learn the basics of programming, you may not have any specialized software. Enough to have the Internet and your desire for learning.

The training interface consists of several parts.
  1. On the left is the code editor in which you have to work.
  2. On the right is the window for displaying the result of the program.
  3. And at the bottom there are tasks and control buttons.
If you are ready to learn how to program easily and freely, then start completing tasks!

Task
Time limit: 1000 ms,
Memory limit: 256 Mb

Copy the program typed below into the editor window.
Run the program for execution. The results of the program will be displayed in a window.

Each task is tested on some tests. The results of each test are displayed in the results window.
Your goal is to get 100% of the tests performed for each task.
Good luck!

PROGRAM:

import java.io.*;
import java.util.*;

public class Main
{
    public static void main(String[] args)
    {
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int a = in.nextInt();
        int b = in.nextInt();
        System.out.println(a + b);
    }
}

 

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: