Dasturlash 1


Download 239.69 Kb.
Sana03.02.2023
Hajmi239.69 Kb.
#1156261
Bog'liq
dasturlash2


Fan nomi

Dasturlash 1

FIO

Yuldashev Bobomurod

Guruhi

710-21


Mavzu: Takrorlanuvchi jarayonlarni dasturlash



Dasturi:
#include
#include
using namespace std;
int main(){
int a, b, c;
cin>>a>>b>>c;
double x, y;
for(x=1; x<=10; x+=3){
y+=(a*x*x)/b+(x/c);
}
cout<}
Natijalar:





Xulosa:
Men Yuldashev Bobomurod ushbu massalalarni yechish davomida
CodeBlocks
Dasturidan foydalanishni urgandim va matematik funksiyalar
C++ tilida qanday yozilishlarini va CodeBlock da turli amallarni bajarishni urgandim C++ dasturiga bog”liq kitoblar oqidim
Men bu fazifani bajarish jarayonida Sikl funksiyasida massalalar bajarishni urgandim

Download 239.69 Kb.

Do'stlaringiz bilan baham:




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