التاسك السادس الجزء الثاني
صباح الخير ياحاسوباتيه
☺

معاد التاسك ولسه مكملين if statement
مسألة امبارح هينزل حلها مع التاسك ده ان شاء الله
======Coding======
1)
Reads a student grade and print the following:
"A" for exam grades greater than or equal to 90.
"B" for grades greater than or equal to 80.
"C" for grades greater than or equal to 70.
"D" for grades greater than or equal to 60.
"F" for all others grades.
------------------------
2)
Read 4 integer values A, B, C and D. Then if B is greater than C and D is greater than A and if the sum of C and D is greater than the sum of A and B and if C and D were positives values and if A is even, write the message “Accepted values”. Otherwise, write the message “Values not accepted”.
------------------------
3)
Read three integers and sort them in ascending order. After, print these values in ascending order, a blank line and then the values in the sequence as they were read.
ليست هناك تعليقات:
إرسال تعليق