DEV Community

Sunnat Qayumov
Sunnat Qayumov

Posted on

2 3 2 2 2

2. Data Types

*a) Quyidagi o'zgaruvchilarni qiymat turlariga turlariga ajrating: *
int = butun sonlar uchun;
float = kasr sonlar uchun;
string = matnlar uchun;
bool = true or false;

b) float va double orasidagi farq nima?
bu ikkisi ham kasr sonlar uchun ishlatiladi. farqi hajmida. float = 4 byte; double = 8 byte;

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay