How to resolve the algorithm A+B step by step in the Insitux programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm A+B step by step in the Insitux programming language

Table of Contents

Problem Statement

A+B   ─── a classic problem in programming contests,   it's given so contestants can gain familiarity with the online judging system being used.

Given two integers,   A and B. Their sum needs to be calculated.

Two integers are written in the input stream, separated by space(s):

The required output is one integer:   the sum of A and B.

Let's start with the solution:

Step by Step solution about How to resolve the algorithm A+B step by step in the Insitux programming language

Source code in the insitux programming language

(+ (to-num (prompt "Enter first number: "))
   (to-num (prompt "Enter second number: ")))

  

You may also check:How to resolve the algorithm First-class functions/Use numbers analogously step by step in the 11l programming language
You may also check:How to resolve the algorithm Sum multiples of 3 and 5 step by step in the C++ programming language
You may also check:How to resolve the algorithm Dynamic variable names step by step in the Elena programming language
You may also check:How to resolve the algorithm Yellowstone sequence step by step in the Java programming language
You may also check:How to resolve the algorithm Array length step by step in the EMal programming language