10
Bu yerda natija baytlarda chiqadi, ya‟ni 4. Funksiyaga kirish parametri
sifatida toifa nomi beriladi.
Butun toifaning quyidagicha ko„rinishlari mavjud.
Short
short int
signed short
signed short int
unsigned short
unsigned short int
int
signed int
unsigned
unsigned int
long
long int
signed long
signed long int
unsigned long
unsigned long int
Berilgan m va n butun sonlari ustida quyidagi arifmetik amallar bajarish
dasturini ko„rib chiqaylik: m
n, m-n, m*n.
#include
using namespace std;
int main()
{ int m,n;
cin>>m>>n;
int k1=m+n;
int k2=m-n;
int k3=m*n;
cout<
system("PAUSE");
}
Dostları ilə paylaş: