27 / 05 / 2004, 00 : 01 AM | #1 | |||||||
وئامي جديد
شكراً: 0
تم شكره 0 مرة في 0 مشاركة
|
طلب مساعده
مرحبا
انقذوني يا عباقرة الc++ انا عندي بحث ومو عارفه شسوي علشان اخلصه ومتوهقه ارجوكم ساعدوني هذي هي الاسئلة : Problem: Design a program that will ask the user to enter six numbers to an array and display the following through a main menu: a: The numbers enterd b: The largest and smallest number enterd c: The sum and avarage of the numbers enterd d: The histogram of numbers enterd e: The sorted numbers enterd Task1 Prepare a program documentation. This documentation covers the technical design of the given problem. Design an alogorithm (pseudocode or flowchart) of the given problem. You break the program into pieces by designing a solution on each task. (ex. Solution on how to sort array solution on getting thr largest and smallest numbers enterd) Task 2 Code the program. Code the solution using C++ program. Include simple documentation in your code using the COMMENT function of the program. Apply indentations for program readability. Task 3 Test the program. Test the program against the given data ------------------------------------------------------------------------------------------------------------------------------------- Test data: 1: =========================== Main Menu 1: Input Array 2: Display Array 3: Find Max and Min 4: Find Sum 5: Histogram 6: Sort (Ascending) Array 7: Quit Enter your choice: ============================= ---------------------------------------------------------------------------- 2: ============================= Input Array Enter 6 numbers to an array 9 2 4 9 6 7 Press any key to go back to Main Menu! =============================== --------------------------------------------------------------------------- 3: =============================== Display Array 9 2 4 9 6 7 Press any key to go back to Main Menu! Press any key to go back to Main Menu! =============================== ------------------------------------------------------------------------------ 3: =============================== Find Max and Min 9 2 4 9 6 7 The largest number is 9 The smllest number is 2 Press any key to go back to Main Menu! ================================ --------------------------------------------------------------------------------------- 4: ================================ Find Sum and Average 9 2 4 9 6 7 The sum is 37 The average is 6.17 Press any key to go back to Main Menu! ================================= ----------------------------------------------------------------------------------------------------- 5: ================================= Histogram Element Value Graph 0 9 ********* 1 2 ** 2 4 **** 3 9 ********* 4 6 ****** 5 7 ******* Press any key to go back to Main Menu! ================================== ----------------------------------------------------------------------------------------------------- 6: ================================== Sory(Ascending)Array Data utems in original order: 9 2 4 9 6 7 Data items in ascending order: 2 4 6 7 9 9 Press any key to go back to Main Menu! =================================== ارجوكم رحم الله والديكم ترى برسب في هالماده |
|||||||
|
||||||||
04 / 08 / 2004, 17 : 12 AM | #2 | |||||||
من مؤسسي الوئام
شكراً: 0
تم شكره 2 مرة في 2 مشاركة
|
مشاركة: طلب مساعده
بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته يااااااااااااااااااليت اعرف لكن إن شاء الله الاخوووووووووان والأخوات ما يقصرون اخوووووووك حسام الشعر |
|||||||
كل عام وانتم بخير
|
||||||||
مواقع النشر (المفضلة) |
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
|
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
ابي مساعده | أمواج الخليج | منتدى برامج الكمبيوتر | 2 | 21 / 07 / 2006 11 : 08 AM |
طلب مساعده | kahlid | منتدى computer العام | 3 | 22 / 11 / 2004 47 : 06 PM |
مساعده | خالد | منتدى computer العام | 4 | 19 / 11 / 2001 23 : 05 AM |
ابي مساعده | ابو عبد الله | منتدى computer العام | 1 | 04 / 10 / 2001 32 : 05 AM |