مشان الله انا اختكم من الاردن وهاي اول مشاركة الي في المنتدى والدكتورة طالبة تسليم الواجب كمان يومين ولازم تساعدوني مشان الله لا تفشلوني بتوقف حياتي الجامعية على رفع علاماتي بهاي المادة عشان ارفع معدلي التراكمي وبالتالي لا اخذ الانذار النهائي وبعتقد انها اسئلة بسيطة بحكم خبرتكم اريد الكود اللازم لحلها
السؤال الاول :
Write C++ program to let the user input the value of Inches.
Calculate the centimeters and feet values corresponding to the input value, where
1 Inch = 2.54 cm
1 Feet = 12 Inch
مثال على البرنامج
Look at the sample RUN
Please enter inch value: 2
The corresponding cm's = ##5.0800
The corresponding feet = ##0.1700
السؤال الثاني
Write C++ program to:
1- Input a sentence and a string
2- Search for the string within the sentence
3- Print on the screen the number of appearance of the string within the sentence
OR
Write C++ program to:
1- Declare a function that finds all: max, sum, and average of 3 integers.
2- Print on the screen the results from main function.
.
السؤال الثالث والاخير
Write C++ program to:
1- Input the name and 3 exam grades of 20 students
2- Find the average of each student
3- Find the average of the class (average of the students' averages)
4- Print on the screen the names of students with average above the class average.
يجب استخدام ال file stream لحل السؤال
