مشاهدة النسخة كاملة : لمن يرغب فالمساعده


أمير الغنيمي
23-05-2007, 11:20 AM
أريد حل تلك التمارين مع الشرح لو سمحتم لأنها مهمة حيث انها قد ستدخل فالاختبار....
1-
write a c++ main that recives akeyboard input value,stores it in a variable x,then calls a funcation with that variable as input parameter.the function checks whether the passed parameter is odd or even and return 0 or 1 accoringly.the main displays asuitable message according to the returned value.test the performance with different input values of x (say 19,24,102,0...). end

2-

A main and power to compute the first argument raised a power equal to the second argument (with return and without return) -in case of void function let the output be produced from the main then from the function. end

3-

A program that detects and displays the value and the index(subscript) of the element having the maximum value in a floating point array of 10 element. end

4-

Write a C++ program that squres the contents of array arr_1 and stores them onto the array arr_2.Array arr_1 is filled with values from 1 to 100. end

أمير الغنيمي
23-05-2007, 01:16 PM
معلش هتقل عليكم ...:

give Examples:
ــــــــــــــــــــــــــــــ
1-
local double constant using formal methodو ايه الفرق بينه و بين global double constant using formal method؟


2-
Static double variable declaration


state:
ــــــــــــ
predefined (built-in) data types in c++


4-write down the following expressions in c++:
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــــــــــــــــــــــــــــــــــــ
-dupling thevalue stored in the variable x,leaving it storedin x

-skipping an iteration of a for loop when it's computer is equal to 37

ناعمة النعومة
23-05-2007, 04:05 PM
اريد المساعة فى مشروعى عن الغازات الصناعية شاشات وقواعد بيانات