DEV Community

Jafar9442
Jafar9442

Posted on

c ++ 6-dars

#include <iostream>
using namespace std ;

int main5() {

// kutubxona <cmathh>

float a;
  cin >> a;

  cout << round(a);

return 0;
}

int main4() {
int son;
  cin >> son;

  char a = char (son);
  cout << son << endl;
  cout << a;

return 0;
}

int main3() {

int a = 65;

  char b = 'z';

  cout << char (a);
  cout << endl << int (b);

return 0;
}

int main2() {

// bool => boolean

  bool a = true;

  cout << (10<5);

return 0;
}

int main1() {

int a = 10;
float b = 10.5;
double c = 10.252153515136;
string d = "ikkichilar";
//char => character (belgi);

char belgi = 65;
int son = 'A';
// int son = 3

cout << belgi << " " << son;

return 0;
}
Enter fullscreen mode Exit fullscreen mode

@dawroun

Top comments (0)