Fan nomi
|
Dasturlash 1
|
FIO
|
Yuldashev Bobomurod
|
Guruhi
|
710-21
|
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
Do'stlaringiz bilan baham: |