2ta
13 - 03 - 2010, 23:45
بسم الله الرحمن الرحيم
.
.
السلام عليكم ورحمه الله وبركاته ,,
مرحبا يا أعضاء منتديات علوم الحاسب الآلي :)
انا عضو يديد ف المنتدى وحبيت منكم المساعده في حل بعض المسائل لاني تعبت وانا ادور حل ف النت فظهر لي المنتدى واشتركت فيه وان شالله الاقي حل لللاسئلة وبغيت الحل يكون موجود قبل يوم الاثنين ف بلييييييز حد يحله لي والسموحه منكم
السؤال الاول :
Table 3.7 gives the year 2000 populations of three New England states. Write a program that calculates the average population and then displays the name of each state and the difference between its population and the average population. The states and their populations should be stored in a text file.
--------------------------------------------------------------------------------------------------
Maine 1275
Massachusetts 6349
Connecticut 3406
Table3.7 : 2000 Population ( in thousands ) of three New England states.
السؤال الثاني :
Write a program to calculate the amount of a server's tip given the amount of the bill and the percentage tip obtained via input dialog boxes. The output should be a complete sentence that reiterates the inputs and gives the resulting tip. For example, if $20 and 15%are the inputs, then the output might read "A 15 percent tip on 20 dollars is 3 dollars"..
.
.
السلام عليكم ورحمه الله وبركاته ,,
مرحبا يا أعضاء منتديات علوم الحاسب الآلي :)
انا عضو يديد ف المنتدى وحبيت منكم المساعده في حل بعض المسائل لاني تعبت وانا ادور حل ف النت فظهر لي المنتدى واشتركت فيه وان شالله الاقي حل لللاسئلة وبغيت الحل يكون موجود قبل يوم الاثنين ف بلييييييز حد يحله لي والسموحه منكم
السؤال الاول :
Table 3.7 gives the year 2000 populations of three New England states. Write a program that calculates the average population and then displays the name of each state and the difference between its population and the average population. The states and their populations should be stored in a text file.
--------------------------------------------------------------------------------------------------
Maine 1275
Massachusetts 6349
Connecticut 3406
Table3.7 : 2000 Population ( in thousands ) of three New England states.
السؤال الثاني :
Write a program to calculate the amount of a server's tip given the amount of the bill and the percentage tip obtained via input dialog boxes. The output should be a complete sentence that reiterates the inputs and gives the resulting tip. For example, if $20 and 15%are the inputs, then the output might read "A 15 percent tip on 20 dollars is 3 dollars"..