1. مرحبا بكم في أسواق ستي أكبر المواقع التجارية شعبية
    إستبعاد الملاحظة

أحتاج شخص خبرة في لغة السي بلس بلس لعمل برنامج بسيط نسبيا

الكاتب: خبير التسوق, بتاريخ ‏29 مايو 2011.

  1. خبير التسوق

    خبير التسوق تاجر مميز

    إنضم إلينا في:
    ‏2 أكتوبر 2009
    المشاركات:
    366
    الإعجابات المتلقاة:
    0
    بسم الله الرحمن الرحيم


    السلام عليكم ورحمة الله وبركاته


    أحتاج شخص خبرة في لغة البرمجة السي بلس بلس ( c++ ) لعمل برنامج بسيط نسبيا .. وله حق تعبه إن شاء الله


    وهذا هو البرنامج المطلوب :-

    Write a C++ program to read, save, sort, search and display the students’ ids, student names and marks of N students.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
    N=7 should be declared as a constant in your program. You must use arrays to store the students’ IDs, names and marks.
    Note: an enhanced version of this program can be achieved after studying functions and structs.<o:p></o:p>
    Your program should display and execute a menu with the following options.

    A switch statement must be used to execute the following menu options.

    Menu
    ---------
    1. Clear
    2. Register a Student (Id, Name, Mark)
    3. Display the student with a highest mark
    4. Display the marks of all students
    5. Display the percentage of the total mark received by each student
    6. Sort all marks in ascending order

    7. Sort all marks in descending order
    8. Search for a student with a given id

    9. Search for a student with a given name
    10. Search for a student with a given mark
    11. Exit
    <o:p> </o:p>
    Explanation<o:p></o:p>
    <o:p> </o:p>
    1. Clear
    This option initializes all the elements of the arrays to -1 to indicate that array is empty and names to null.


    <o:p></o:p>
    2. Register a Student (Id, Name, Mark)<o:p></o:p>
    This option reads and stores the student’s id, student’s name and student’s marks. The marks (float numbers) are entered from the keyboard.


    <o:p></o:p>
    3. Display the student with a highest mark
    This option displays the student id, name and mark for a student with a highest mark.


    <o:p></o:p>
    4. Display the marks of all students<o:p></o:p>
    This option displays the students’ IDs, names, marks of all students.


    <o:p></o:p>
    5. Display the percentage of the total mark received by each student<o:p></o:p>
    This option displays the percentage of the total mark for all students.


    <o:p></o:p>
    6. Sort all marks in ascending order<o:p></o:p>
    This option sorts all marks in ascending order. You can use any sorting algorithm which uses at least two while loops and one if statement.


    <o:p></o:p>
    7. Sort all marks in descending order<o:p></o:p>
    This option sorts all marks in descending order. You can use any sorting algorithm which uses at least two while loops and one if statement.


    <o:p></o:p>
    8. Search for a student with a given id<o:p></o:p>
    This option searches for a student with a given id. The program asks the user to enter the id using the keyboard and searches for it. If an appropriate student is found, the program displays the message “student found” and displays the id, name and the mark otherwise it displays a message “no student found”.


    9. Search for a student with a given name<o:p></o:p>
    This option searches for a student with a given name. The program asks the user to enter the name using the keyboard and searches for it. If an appropriate student is found, the program displays the message “student found” and displays the id, name and mark otherwise it displays a message “no student found”.


    10. Search for a student with a given mark<o:p></o:p>
    This option searches for a student with a given mark. The program asks the user to enter the mark using the keyboard and searches for it. If an appropriate student is found, the program displays the message “student found” and displays the id, name and mark otherwise it displays a message “no student found”.


    11. Exit
    The program should display the message “Thanks for using this program”, and exit.

    The whole program should work in a loop to enable the user to select an item from menu until the user chooses to exit.



     
  2. خبير التسوق

    خبير التسوق تاجر مميز

    إنضم إلينا في:
    ‏2 أكتوبر 2009
    المشاركات:
    366
    الإعجابات المتلقاة:
    0
    أعوذ بالله مسرع مانزل الموضوع تحت
     
  3. progahmed

    progahmed تاجر

    إنضم إلينا في:
    ‏24 مايو 2011
    المشاركات:
    2
    الإعجابات المتلقاة:
    0
جاري تحميل الصفحة...

مشاركة هذه الصفحة