Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 639

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1041

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1046

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1518

Deprecated: Assigning the return value of new by reference is deprecated in /www/wwwroot/shabab.ps/public_html/vb/showthread.php on line 1523
بلييز الي بيعرف بالبرمجة بالc ضروري مساعدة - منتديات شباب فلسطين
نحن مع غزة
قديم 03-29-2008, 11:42 PM   #1
hanady
I ♥ AQSA
 
الصورة الرمزية hanady

قوة السمعة: 9 hanady will become famous soon enough

افتراضي رد: بلييز الي بيعرف بالبرمجة بالc ضروري مساعدة

كود:
#include<conio.h>
#include <stdio.h>
 int main (){

int s,i,j,n, m;

printf("entrer le n");
scanf("%d",&n);
s=0;
for (i=1;i<=n;i++){
     m=1;
     
     for(j=1;j<=i;j++){
          m=m*i;
          
          }
  s=s+m;
        }
 printf ("la somme des puissances s=%d",s);
 getch();
}
خلص زبط زبط لللللليييييييششش كود: #include<conio.h> #include <stdio.h> int main (){ int s,i,j,n, كود: #include<conio.h> #include <stdio.h> int main (){ int s,i,j,n,
بس ممكن سؤال زغنون عارفة اني زودها m=m*i; } s=s+m; } printf ("la somme des puissances s=%d",s); ليش هالغيتش ايش بتعمل؟

و شكراااا كتير اخي و الله يجيز كل خير و بارك الله فيك





  اقتباس المشاركة
إضافة رد


الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 
أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة

الانتقال السريع


الساعة الآن 02:25 AM.