رد: Cpcs 202 شروحات وحلول وواجبات الجافا
Write a Pseudocode, an algorithm and draw a flowchart to solve the following problems:
1. The average of 2 entered numbers
//average of 2 numbers a and b can be calculated using (a + b)/2
2. Convert temperature degree from Fahrenheit ºF to Celsius °C
// for converting the temperature you can follow the following steps:
Subtract 32 from the Fahrenheit temperature
Divide the result by 1.8
3. Calculate the square and the cube for a number and print the results as "The square is 4" "The cube is 8" 4, 8 are calculated for 2 as an entered number.
4. Print a message to determine if an entered number is even or odd "The number is even" or "the number is odd"
5. The Total marks of a student which consists of Homework, Attendance, Midterm Exam, Project and Final exam. Then, determine if he passed the course or not as 50% is the minimum to pass the course and print the results on the screen.
ممكن احد يرسم المخططات رسم بسيط بس لتوضيح الاشكال المستخدمه اهم شي
|