Guruh talabasi Abduazizova Diyora hemisda 1- raqam Topshiriq


Download 120.16 Kb.
Pdf ko'rish
Sana19.12.2022
Hajmi120.16 Kb.
#1033349
Bog'liq
deadline 1



622-22 guruh talabasi Abduazizova Diyora 
HEMISDA 1- raqam 
Topshiriq 
Mаshinаni ifоdаlаvsi klаss yarаting. 
#include  
#include  
using namespace std; 
class Lamborghini { 
public: 
int vaqt; 
int tezlik(){ 
return vaqt*33 ; 

}; 
int main() { 
int a; 
Lamborghini shakl1; 
cout<<"\t\t\t ::::LOMBORGHINI::::\n\t\t AVENTADOR LP 700-4 INR 3.69 
CRORE\n\t\t\t\t MODELI"<cout<<"\to'lchamlari:\t4780x2030x1136mm"<cout<<"\tog'irligi:\t1575 kg weight"<cout <<"\tkuch va momenti:\t700 ot kuchi 5500 aylanish tezligi" << endl; 
cout <<"\tDvigiteli:\t6498 kubometr, 95mmx76,4mm" << endl; 
cout <<"\n\t\t n soniyadagi tezligi" << endl; 
x: 
cout << "\n\t\tvaqtni kiring [soniya]: ";cin >> a; 
shakl1.vaqt = a; 
if(shakl1.tezlik()<=350) 
cout <<"\t\t\t"<< a <<" soniyada " << shakl1.tezlik()<<"km/h tezlikka erishadi"<< 
endl; 
else {cout<<"\t\t\t bunday tezlikka erisha olmaydi!!!...\n" ; goto x;} 
return 0; 


Download 120.16 Kb.

Do'stlaringiz bilan baham:




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