Results 1 to 8 of 8
Thread: ++
Hybrid View
-
7th October 2009 17:02 #1Registered User
Join Date: Oct:2009
Location: sofiq
Posts: 4
++
2 - ( 2 ) ++
-
7th October 2009 17:11 #2
-
7th October 2009 18:33 #3
-
8th October 2009 08:50 #4Registered User
Join Date: Oct:2009
Location: sofiq
Posts: 4
//program zad1.cpp
#include <iostream.h>
using namespace std;
int main()
{double a;
cout <<"a= ";
cin >> a;
double b;
cout << "b= ";
cin >> b;
double p;
p = a+b;
cout << "sumata e" << p << "\n";
double p;
p= a+b/2;
cout << "sredno aritmetichnoto e " << p << "\n";
system ("pause");
return 0;
}
-
8th October 2009 11:52 #5
".h" <iostream.h>, ..
Code:#include <iostream>
, , , .. (a+b)/2.Code:#include <cstdlib>
, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel
-
8th October 2009 11:57 #6Registered User
Join Date: Oct:2009
Location: sofiq
Posts: 4
:
#include <cstdlib>
-
8th October 2009 12:16 #7
using namespace std;
.
:#include <cstdlib>
, ..
-
8th October 2009 12:58 #8Registered User
Join Date: Oct:2009
Location: sofiq
Posts: 4




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in