![]() |
مساعدة في حل اسئلة C programming بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاته .. مساعدة منكم يا اخواني .. السؤال الأول : رمز Code: 1. PROBLEM Design a program to calculate number of Vowels, Consonants, Words, White Spaces and other character in a line of text. INPUT: Enter a line of text: PROCESS: 1. Read the text and stop it with Null Character 2. Initialize counter variable for all type of data as Zero. 3. Evaluate the condition to find out what type of data it is 4. Print the Counter Variable results for all type of data. OUTPUT: Number of Vowels: Number of Consonants: Number of Words: Number of White Spaces: Number of Other Character: السؤال الثاني : رمز Code: 2. PROBLEM The Ibri College of Technology requires a system to calculate the probation students required Semester GPA Grade to come out of Probation. INPUT: Enter Number of Passed Subject with Grade Point Enter Number of Current Semester with expected Grade Point PROCESS: 1. Check Grade Points of Subject Passed (Note :Consider R and No Note value only from transcript) 2. Check the number of current semester subjects and its minimum required Grade Points 3. Grade Points of subjects for students obtained/required=Passed Subjects grade points + Current Subjects grade points 4. Calculate the Actual Grade Point for all this subjects.(Passed and Current Semester) 5. Required Semester GPA=( Required score grade point – obtained actual grade point)/ total number of current semester subjects OUTPUT: Student Required Semester GPA = السؤال الثالث : رمز Code: 3. PROBLEM Write a program to find bill amount of a restaurant. A customer can choose any number of items in a menu. Menu: 1. Burger 600 Baisa 2. Sandwitch 400 Baisa 3. Chicken curry 1.500 Rial 4. Chicken fry 1.100 Rial 5. Mutton curry 1.350 Rial 6. Fresh Juice 650 Baisa 7. Water 100 Baisa. Find the total bill after giving 10.0% discount to the customer . ارجو الحل .. مساعدتكم يا اخواني .. |
الساعة الآن 11:50 PM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir