رد: نبضات رهين الشوق
سلام يا احمد
كيفك ياخوي؟؟؟
انا اسفه جدا بس عندي اسأله مراجعه ومهمه وابي لها حل في السي بلص
Review Exercises
1-1) Write a program to output the odd numbers from 1 to n
note>>number from user
1-2) Do (1) but for numbers n to m
m ,m from user note>>
2) Write a program to calculate the sum and average of the numbers from from n to m
3) Compute the value of the series 1/2+1/3+1/4+1/5+1/6(put to 1000 tems)
4) Write a program to read 100 numbers and find the largest and second largest
5) Input in the number of seconds , output the number of hours ,minutes , seconds.
Example: 4000 second seconds=1hors+6mintes + 40 seconds.
6)Write a program to do a scientific calculator supporting addition ,subtactes, multiplication, division . Assume only two terms operations . Read input as chars and convert to numbers using "atof" used as : atof(x) .examples :input can be 2+9
7)Read a text and count the frequency of each in the text , Output each letter and its frequency in one line . Example "The C program is good " , output will include each letter and its frequency .
8)Do the above exercise by finding the highest frequency letter.
9)input 500 numbers in array ; find the highest occurrence of of x
10)input 500 numbers in array ; make each item in the array the sum of all items preceding it including itself .
11)input 100 numbers in array ;transpose the array I,e make the last element the first and the first element the last .
12)sort an array of 100 numbers .
13) input an array of 100 numbers ;find the number of times a number x has occurred in the array .
input 100 numbers in an array; put all odd number in a new array and even number in another new array.
انا نقلت لك الأسأله وارجوك لو تحلها لي والله يعطيك العافيه
انا في جده والمحاضره بكره عندنا وبرسلها على ايميل الدكتوره واكون لك شاكره
|