Ushbu kodda matematik ishlash o'ganamiz.
#include <iostream>
using namespace std;
int main() {
cout << 25 + 5;
return 0;
}
Ushbu kodda int, string o'rganamiz.
#include <iostream>
using namespace std;
int main() {
int yosh = 15;
string ism = "Jafar";
cout << "Salom " << ism << endl;
cout << "men " << yosh << "daman.";
return 0;
}
Ushbu kodda son iritish o'rganamiz
#include <iostream>
using namespace std;
int main() {
int son;
cout << "Sonni kiriting ";
cin >> son;
cout << "Siz kiritgan son:" << son;
return 0;
}
@dawroun
Top comments (0)