DEV Community

Charos1mm
Charos1mm

Posted on • Updated on

C ++dan kop narsalarni orgabndik

C++da bugun yangi kutbxonani o'gandik.# include <iomanip>bu yangi kutb xona.

Tugulgan kun va oylar chiqariwni organdik.



int kun,oy;

cin>>kun >> oy;
cout <<"Birthday is "; 
cout<<setw(2) << setfill('0')<<kun<<'-';
cout<<setw(2) <<setfill('0')<<oy <<'.';

C++dan kasr sonlarni ciqariwni organdik.




int main2 (){
int eni,boyi;
cout<<"Tortburchaknin enini kiriting:";
cin>>eni;
cout<<"Tortburchakning boyini kiriting:";
cin>>boyi;
  cout<<" Tortburchaknin yuzi:"<< eni*boyi;
}

BUGUN MANAWU DARSLARNI ORGANDIK.
C++dan




@dawroun  
Enter fullscreen mode Exit fullscreen mode

Top comments (0)