المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : c programming >> ابي فزعه :s


سكون عآصف
03-26-2010, 09:07 PM
>>> نآسخه لكم ورقة الهوم وورك نفسها
DATE OF SUBMISSION: 28-03-2010(SUNDAY, 9AM)

FULL MARKS: 50
(Answer all the questions, each question carries equal marks)
Q1. Write a program in C to compute the value of the expression X = 10+5/2*3 and print the
output as integer type as well as floating point type.
Q2. Write a program in C to print the ASCII equivalent of the decimal numbers 97, 98 and 99.
Q3. Write a program in C to find the biggest of three different integers.
Q4. Write a program in C to find the roots of the quadratic equation file:///C:/Users/Vaio/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif
where file:///C:/Users/Vaio/AppData/Local/Temp/msohtmlclip1/01/clip_image004.gif are numeric constants.
Q5. Write a program in C to test whether the accepted year is a leap year or not.
Q6. Write a program in C to test whether the accepted integer is odd or even.
Q7. Write a program in C to find the sum of the digits of the integer 385.
Q8. Write a program in C to find the factorial of 5.
Q9. Write a program in C to compute the sum of integers 1, 2, 3, … , n.
Q10. Write the outputs of the following two program segments:
main ()
{
int i , j ;
i = 5 ;
j =++i + 5 ;
printf(“Value of i is %d and j is %d\n”, i , j);
}
ــــــــــــــــــــــــــــــــــــــــــــــــ
main ()
{
int i , j ;
i = 5 ;
j = 5 + i++ ;
printf(“Value of i is %d and j is %d\n”, i , j);
}
>>> عآكس كل الأسهم والاقوآس :m: ماعليكم منه

سكون عآصف
03-26-2010, 09:14 PM
الدآله في السؤال الرابع .. ax(من الدرجه 2 ) bx + c = صفر
a,b,c is numeric constants

مشوت القواطي
03-26-2010, 10:14 PM
لغة السي مااعرف لها, وترى الواجب لك مو لغيرك عشان يحلونها ..
ماحليت الا ثلاث اسئله و الباقي انتي كمليه ..
الموضوع مستصعبته على نفسك عشان الاسئلة بالانجليزي؟؟ :m:

سكون عآصف
03-27-2010, 05:45 AM
شكرآ جزيلآ ... بس ما فتح معي المرفق !!

لا مو علشآنه بالانقلش بس تونآ ما بعد نتعمق في الدراسه لدرجه أنو نحل هالاسئله ونكتب برنآمج :s ...

إكة هاص
03-27-2010, 07:42 AM
^
طيب أنا فتح معي :22
يعني المشكله مو بالملف . جربي ثاني مره :fl

معليش عالتدخل .. بس كنت بساعد :24


أسيبكو لحالكوا :22 < مناك بس :24

مشوت القواطي
03-27-2010, 03:33 PM
اختي الملف مضغوط :11
فكي الضغط وشغليه على الكومبايلر :14

سكون عآصف
03-30-2010, 12:54 PM
شكررررآآآآ اكه هآص ,, مشوت القوآطي ... أبشرك الأمور تمآآآم
:3:
واللي له خلق يكمل حل يحل ... أجلّت تسليم الهوم ورك للسبت ...