المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Problem Solving Using Visual C++ 2010 # 1



محمد عبدالمنعم الملط
18-04-2010, 03:18 AM
Problem Solving Using Visual C++ 2010 # 1
ًWindows Application Forms

Problem Solving Using Visual C++ 2010

Program 1: Circle
This program will calculate the area and circumference of a circle given the radius. The radius will be input from
the keyboard and validated (i.e., ensure that the radius is >= 0), and the area and circumference will be calculated
with 2-decimal places accuracy and output.
Evaluation
This program is worth 25% of the grade. The evaluation is as follows:
1. Define PI 5%
2. Input Statements 5%
3. Calculation Statements 5%
4. Output Statements 5%
5. Comments 5%
Algorithm
Use a constant for PI = 3.14
1. Input radius of the circle.
2. Compute and print out area of the circle.
3. Compute and print out circumference of the circle.
4. Exit (return).[/COLOR][/SIZE]


البرنامج وصور البرنامج فى المرفقااااات
المرفقات مخفية شارك برد من أجل ظهور المرفقات





You can see links before reply


You can see links before reply





You can see links before reply



You can see links before reply


:17: