answersLogoWhite

0

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What are the different examples in computer application in science?

Programming and design are examples in computer application in science.


Where can a person find Dish Network programming online?

One can find dish networking programming online from many different websites. Some examples of these websites include Dish, Infinity Dish, and USDish.


What are the examples of an accounting software?

QuickBooks by Intuit, Sage venture bookkeeping programming and custom bookkeeping programming.


Provide two programming examples in which?

Apple and pear.


What are some of the different types of software programming languages?

High level languages Mid Level Languages Low level languages High level languages: cobol, fortran etc Mid level languages: C, C++ Low level languages: assembly language


What are the examples of object oriented programming environments?

Java, C++


What are literary DEVICES how are they different from literary ELEMENTS and give some examples like character development?

i do not really know


What are some examples of social security benefits that individuals can receive?

Some examples of social security benefits that individuals can receive include retirement benefits, disability benefits, survivor benefits, and supplemental security income.


What are examples of programming languages?

C, C++ and java are a couple. There are still many other programming language.


What are examples of objected programming language?

C++C#EiffelJavaSmalltalkVisual Basic


Examples of Low-Level Programming Language?

Machine code & Assembly language.


Examples on structures of C programming?

'struct tm' (time.h) and 'FILE' (stdio.h)