Bugun biz C++ ni o'rganishni boshladik.
Ushbu kodda komentariyaga olishni organasiz:
#include <iostream>
using namespace std ;
int main() {
// cout<< "Salom nima\n";
/* cout << "Salom nima" <<endl;
cout << "Salom nima" ; */
cout << "Salom nima" ;
return 0;
}
Ushbu kodda yozuvni orasini ochishni o'rganasiz
int main() {
cout << "Salom " ; cout << "qalesiz" ;
return 0;
}
Ushbu kodda yozuvni tagiga tushirishni o'rganasiz
int main() {
cout << "salom\n" ; cout << "Yaxshimisiz" ;
return 0;
}
Ushbu kodda yozuvni tagiga tushurishni 2-turi ni o'rganamiz
int main() {
cout << "Salom" <<endl; cout << "yoqtimi" ;
return 0;
}
Top comments (0)