Dev-Hack

Dev-Hack

جميع برامج الاخترق و تعليم الاخترق و دورات الاخترق

تم افتتاح افرع جديد لمنتدى المنتدى هو www.sport-sat.com الرجاء التسجيل به

    ضرووووووووووري أرجو المساعدة

    شاطر

    aljareh20201

    عدد المساهمات : 2
    السٌّمعَة : 0
    تاريخ التسجيل : 27/04/2013
    العمر : 24
    الموقع : Palestine

    ضرووووووووووري أرجو المساعدة

    مُساهمة من طرف aljareh20201 في الإثنين ديسمبر 02, 2013 12:09 pm

    مساء الخير
    انا اخوكم من فلسطين
    لو سمحتو بدي منكم مساعدة بحل هاي الأسئلة ويا ريييييييت بسرعه وما تخيبوني Smile
    واسف ع الازعاج
    هاي الأسئلة :::>>
    1) A. Write a program that has a function that searches about a character in a string, your function will return array of all addresses of matched character.

    2) Write a program that has a function to search about the vowels characters in a string. Your function will return back a string of all vowels found.
    Hint: the vowels characters are: “a, e, i, o, u”

    3) Write a program that has a function to search about a word in a string. For example if we have the string “welcome to pointers world, come and see the magic!”  And we want to search about the word come, then, your function should return the words in the string that contain the word come. i.e. your function will return the string “welcome come”

    4) Write a program that has a function to allocate N integer memory locations. Fill these memory locations with random numbers less than 100. Send these memory locations to other functions to find the following calculations:
    1. The memory location that has the largest number.
    2. The memory location that has maximum prime number.
    3. New array that contains all numbers with equal digits {11, 22, 33, 44… 99} if they are exist.
    4. The memory location that has a number of maximum sum of its digits. For example, {23, 78, 93, 59 …}. Your function will return the memory location that contains the number 78 since 7+8 = 15 is greater than the sum of digits of other numbers.
    5. The binary equivalent of the average. //use only 4 fractions at most
    6. 2-Dimensional array that contains all repeated numbers. The row size represents the number of different repeated numbers, while the column size represents the number of maximum times the number repeated. For example if the array has the following numbers:
    {12, 5, 12, 65, 12, 5, 23, 65, 12, 34, 12, 5, 65, 12, 10, 23, 89, 34, 86}
    The 2-Dimensional array of 5 X 6 since they are 5 different repeated numbers (12, 5, 65, 23 and 34) and the one that repeated more is 12 and repeated 6 times. So, it is of 6 columns. Note that the number 5 is repeated 3 times, so we should fill its row with three 0’s, and note that the number 23 is repeated 2 times, so the four 0’s are filled.
    {12, 12, 12, 12, 12, 12
    5, 5, 5, 0, 0, 0
    65, 65, 65, 0, 0, 0
    23, 23, 0, 0, 0, 0
    34, 34, 0, 0, 0, 0}
    Hint: to use the random number, you should include <#stdlib>



    5) write a function that rotate a string around the middle character. If the length of the string is even then add ‘?’ character to the string and considered it the middle char.
    Example: input = “welcome” , output =”omecwel”
    Input : “hello  Abed” must add ‘?’ so the string becomes  “hello?  Abed” then the output = “  Abed?hello”


    aljareh20201

    عدد المساهمات : 2
    السٌّمعَة : 0
    تاريخ التسجيل : 27/04/2013
    العمر : 24
    الموقع : Palestine

    رد: ضرووووووووووري أرجو المساعدة

    مُساهمة من طرف aljareh20201 في الثلاثاء ديسمبر 03, 2013 11:44 am

    معقووووووول ما في حدا يساعد Sad Exclamation

      الوقت/التاريخ الآن هو الثلاثاء نوفمبر 13, 2018 3:41 pm