العربية
فتح في Telegram

سلسلة الرسالة #49300

31 رسالة · –
  1. L
    #include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { double a, b, c, d, x; cin >> a >> b >> c >> d >> x; double y = (a * x * x + b * x + c) / (x * a * a * a + a * a + pow(a, (b - c))) + cos(fabs((a * x + b) / (c * x + d +pow(2,c)); cout << fixed << setprecision(2) << y << endl; } Assalomu alekum Mana c++ da😊
      1. U
        import math a = float(input("Enter value for a: ")) b = float(input("Enter value for b: ")) c = float(input("Enter value for c: ")) d = float(input("Enter value for d: ")) x = float(input("Enter value for x: ")) y = (a * x * x + b * x + c) / (x * a * a * a + a * a + a * (b - c)) + math.cos(abs((a * x + b) / (c * x + d + 2))) print(f"{y:.2f}")
          1. U
            Bilmiman tekwirmadm sz tawagan koddi py ga otqazdm faqat
            1. L
              import math as m a,b,c,d,x=map(float,input().split()) y=(a*x*x+b*x+c)/(x*a*a*a+a*a+a(b-c))+m.cos(m.fabs((a*x+b)/(c*x+d+2c))) print(f'{y:.2f}') Bu pythondagi kod ham tòğri tuzilgan .Tekshirib kòring.
              1. L
                Lekin ishlamaydi.Sababi python bu yerda bir narsaga e'tibor beryabdi.Ha lekin cpp unga e'tibor bermay ishlab ketavergandi.
              2. S
                Oxirida 2c debsiz, 2*c buladi
                1. L
                  Assalomu alekum . * bor edi, kompyuterdan bu tomonga copy qilib tashlaganimda * tushmabdi,negadir.Tepada ham a(b-c) bo'lib tushibdi. a*(b-c) edi.
                    1. L
                      Assalomu alekum. ho'p qaradim. Men tashlagan python dagi dastur natija bermasligini ham bilaman.
                    1. L
                      To'g'ri dasturda xato yo'q lekin algoda bu ishlamedi, ishlashi uchun try cetchdan foydalanamiz
                        1. L
                          Men bu dasturni algoda try catchdan foydali utkazganman.Faqat u istisno holatlar uchun ku shu uchun cpp da dasturini iwlab tawlagandim.
                          1. S
                            Algo bumiydi Siz acmp va timusda ishlang shular vaqtga arziydi
    1. L
      Lekin shuni c++ sezmagan 0+0+0**(0-1) darajasi ni bu yerda maxraj 0 ham emas 0 ning (-1) darajasi bo'lyabdida bu nimaga teng
CC++ vs PythonC++ vs Python@cpp_vs_python · مجموعة · التقنية
113أعضاء39 409رسائل في الفهرس
خلاصة المجتمع فتح في Telegram

خلاصة عامة مفتوحة من فهرس البحث ChatCrawler — «Google لـ Telegram العام»؛ تُحدَّث كلما زحفنا إلى المجتمع. الأوقات بتوقيت UTC.

محتوى عام فقط، وAPI Telegram الرسمي. عن المشروع · الأسئلة الشائعة · حدود الفهرس · إزالة صفحة · الدليل · بحث · كيف نحسب