.


:




:

































 

 

 

 


2.




.

#include <iostream>

using namespace std;

 

int main() {

cout << "I am Blaxxon," << endl;

cout << "the godlike computer." << endl;

cout << "Fear me!" << endl;

 

return 0;

}

:

cout << "This is " endl << "C++ program. ";

:

This is a C++ program.

 

: C++

 

, , - , C++ . - - , - - .

(variables): , . , . , ctemp ftemp, .

? . C++ , cin, ( ) . cin , (>>).

.

► , .

► Enter.

► ctemp ( ).

► .

C++, . .

, , , : (integer), (floating-point) .

. , ; .

C++ double. : double-precision floating point ( ). (float), . , - - double.

double . , (;), .

double _;

double : double _1, _2,...;

, double A, , d, amount;





:


: 2016-11-02; !; : 380 |


:

:

- , 20 40 . - .
==> ...

1823 - | 1776 -


© 2015-2024 lektsii.org - -

: 0.01 .