answersLogoWhite

0

--THE SUM OF TWO NUMBERS:

declare

a number(2);

b number(2);

c number(2);

begin

a:=&a;

b:=&b;

c:=a+b;

dbms_output.put_line(a ' + 'b' = 'c);

end;

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

Write a program to add two numbers using oop?

#include<iostream.h> #include<conio.h> void main() { int a, b, c; clrscr(); cout<<"enter the two numbers"; cin>>a; cin>b; c=a+b; cout<<"Addition of two numbers="<<c; getch(); }


Java applet program to accept two numbers in text field and add two numbers?

package AddNumbers; public class AddNumbers { public static void main(String[] args) { int Int; int a = 4; int b=5 ; int sum = a + b; System.out.println("Addition of two numbers!"); System.out.println("Sum: " + sum); } }


Explain what you understand by a program with one example?

A program is a set of instructions written in a programming language that tells a computer how to perform specific tasks. For example, a simple calculator program can take user input for two numbers and an operation (like addition or subtraction), process that input, and then display the result. This program demonstrates how code can automate calculations and provide user-friendly interaction.


Examples of logical errors in c program?

Logical errors :- These errors occur because of logically incorrect instructions in the program. Let us assume that in a 1000 line program, if there should be an instruction, which multiplies two numbers and is wrongly written to perform addition. This logically incorrect instruction may produce wrong results. Detecting such errors are difficult.


What does the plus in java mean?

It is used for addition - to add two numbers. Also, to concatenate two Strings (texts) - that is, to make a longer text from two shorter ones.

Related Questions

What is Result of an addition?

The result is called the sum of the two numbers. The operation of addition is commutative. This means that the addition of two numbers will give the same sum regardless of the order in which the numbers are added.


What is calculating the sum of two or more numbers?

addition


Write a program to add two numbers using oop?

#include<iostream.h> #include<conio.h> void main() { int a, b, c; clrscr(); cout<<"enter the two numbers"; cin>>a; cin>b; c=a+b; cout<<"Addition of two numbers="<<c; getch(); }


Addition?

To add two numbers together


Are odd numbers closed under subtraction?

No, nor under addition, either. The sum or difference of two odd numbers is NOT an odd number.No, nor under addition, either. The sum or difference of two odd numbers is NOT an odd number.No, nor under addition, either. The sum or difference of two odd numbers is NOT an odd number.No, nor under addition, either. The sum or difference of two odd numbers is NOT an odd number.


Is A ratio is a comparison of two numbers by addition?

By division


What are the two numbers in a addition problem called?

The summands.


Identity property for addition?

it goes like this addition is when you add two numbers to get the sum


What is the group of two addition and two subtraction that uses the same three numbers?

The group of two addition and two subtraction using the same three numbers can be represented as follows: Given numbers (a), (b), and (c), one possible arrangement is ( (a + b) - c + (a - b) ). This expression uses addition and subtraction to combine the same three numbers in different ways, resulting in a calculation that involves each of the numbers.


What are the two numbers called in a addition question?

The addends are the numbers that are added together. The answer is the sum.


What are addition subtraction multiplication and division?

addition means when you add two or more numbers together.+ subtraction means you subtract two or more numbers together.- multiplication means when you mutiply two one, or more digit numbers together.x division means when you divide two numbers together./


What do you call the two numbers being add in addition?

summands