انجمن برنامه نویسی درسمن

سوال
سلام میشه لظفا یکی تابع هارو در زبان برنامه نویسی جاوا تعریف کنه من تازه شروع به برنامه نویسی کردم ولی دزباره تابع ها عتلاعات زیادی نیافتم
0
3 سال 0 پاسخ ها 187 دیده شده

سوال
در کنترلر: public IList GetCompanyByidScope() { CompanyEntities db = new CompanyEntities(); int id = (int)(TempData["td-idScope"]); var result = (from c in DataBase.dbEntity.Company_T join ss in DataBase.dbEntity.Scope_T on c.idScope equals ss.idScope where c.idScope == id select new {c.idCompany,c.idScope,c.idWebStore,c.logoCompany, c.mobileAdministrator,c.nameCompany,c.phoneCompany, c.webSiteAddressCompany,c.addressCompany,c.administratorCompany, c.emailCompany,c.establishedYearCompany ,ss.nameScope,ss.descriptScope }).ToList(); TempData["td-idScope"] = result; return result; } در view: Html.Action("GetCompanyByidScope", "Home"); IList co = (IList)(TempData["td-idScope"]);
0
3 سال 0 پاسخ ها 187 دیده شده

سوال
a=int(input("enter:") b=int(input("enter:") res=1 for x in range(a, b+1) res*=x ("print(f"a*b={res} این قسمت بولد شده را نمی فهمم چرا باید مساوی ras بزاریم , ممنون میشم کسی بهم اعلام کنه :)  
در حال بررسی 0
2 سال 1 پاسخ 187 دیده شده