Computer Science, asked by bonifacealeruchi, 3 months ago

differentiate between :
i. Numeric and string constant
ii. Arithmetical and Relational Expression

Answers

Answered by divyabachchani80
4

Rational Expressions

A relational expression is a test between two or more statements. If the test passes, then the result is TRUE. Otherwise it is FALSE. You will also hear the phrase evaluate to True, or Evaluate to False. If the expression is true (e.g., 7 IS less than 8), then we say the expression evaluates to True.

Arithmetic expression

An arithmetic expression is an expression that results in a numeric value. There are two kinds of numeric values, integers (whole numbers), and real or floating point numbers (numbers containing a decimal point).

Numeric Constant

A numeric constant is a sequence of digits and special characters representing some numeric value. There are times when PRO/5 must convert text into some internal format representing a numerical value. A program line may contain numeric constants. For example: 1000 LET X=3.14.

string constant

String constants, also known as string literals, are a special type of constants which store fixed sequences of characters. A string literal is a sequence of any number of characters surrounded by double quotes: ... The null string, or empty string, is written like "" .

Hope it helps ❤️

Answered by itzYourKamina
1

Answer:

Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more. With billions of Pins on Pinterest, you'll always find ideas to spark inspiration. When you discover Pins you love, save them to boards to keep your ideas organized and easy to find.

Similar questions