8- amaliy mashg’ulot Mavzu: Borland C++ Builder 6da grafik imkoniyatlardan foydalanish


Download 14.38 Kb.
Sana03.06.2020
Hajmi14.38 Kb.
#113952
Bog'liq
8-amaliy ish 55c37c6f2b8f6370cdf1f87013db78bc


8- amaliy mashg’ulot

Mavzu: Borland C++ Builder 6da grafik imkoniyatlardan foydalanish.

Ikkita sondan kattasini topish dasturini tuzing.
#include

#include

using namespace std;

int main ()

{

float a,b;

cout<<” a=”; cin>>a;

cout<<” b=”; cin>>b;
if (a>b) { cout<<”katta son - ”<

else { cout<<”katta son -”<
}

AMALIYOT ISHINING TOPSHIRIG’I (Dastur kodi tuzilsin):
1-misol. Sonning ishorasini aniqlovchi dastur tuzing. Ixtiyoriy son kiritilganda ekranda musbat, manfiy yoki nol degan yozuv chiqishi kerak.
Download 14.38 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling