DEV Community

thequvonc
thequvonc

Posted on

c++ da 2-Dars


#include <iostream>
using namespace std;
int main() {

cout << "22222\n";
cout << "2   2\n";
cout << "2   2\n";
cout << "22222";
  return 0;
  }

Enter fullscreen mode Exit fullscreen mode

xammasini 1-po'stima aytgandm.
bu yerda bitta yangilik faqat \n
\n-bu biz yozayotgan 1 qatordagi sozni CONSOLE ga chiqarilgan xolatida 1 t\a pastga tushiradigan funksiya.
xuddi shuni vazifasini << endl; funksiyasi xam bajarib beradi!
bu 2 sining xotiradan egallash orni vazifasi bir hil boladi.

@dawrounn

Top comments (0)