DEV Community

asilbek ibragimov
asilbek ibragimov

Posted on • Edited on

2.Data Types

2. Data Types
Test savollari:

a)Quyidagi o'zgaruvchilarni qiymat turlariga ajrating: int,
float, string, bool.

b)float va double o'rtasidagi farq nima?

Test javoblari

      a)  Int son = 52;
          float kasrSon = 15.52;
          string matn = "Ilmhub zo'r";
          bool a = true/false;
      b)  Farqi hajmida floatniki kamroq:
          float = 4 byte;
          double = 8 byte;
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
asilbek_ibragimov_a0c27cc profile image
asilbek ibragimov

йорворимманми