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 ضروري مساعدة - منتديات شباب فلسطين
نحن مع غزة
Prev المشاركة السابقة   المشاركة التالية Next
قديم 03-30-2008, 08:59 PM   #11
احلا فوفو
I ♥ ISLAM
 
الصورة الرمزية احلا فوفو

قوة السمعة: 18 احلا فوفو will become famous soon enough

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

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

int s,i,j,nm;

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();


الغلط من اول كان هون


printf ("la somme des puissances s=%d",s);



الـ %d مش كاتبيتها بالسكان اف ولا بالبرنت ف شي طبيعي انو ما رح يطبع :)

ديري بالك عليها :>






  اقتباس المشاركة
 


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

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

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

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


الساعة الآن 05:33 PM.