Open Pps Practical File
Open Pps Practical File
Assistant professor
CSE Department, ACE
Source code:
Output:
Prac cal No.2
Aim: Write a program to display the sum of two numbers.
So ware Used: CodeBlocks
Procedure:
Step 1: Start
Step 2: Input the two numbers a ,b
Step 3: Calculate the sum=a+b
Step 4: Print the result
Step 5: Stop
Source code:
Output:
Prac cal No.3
Aim: Write a program to display the sum and average of three numbers.
So ware Used: CodeBlocks
Procedure:
Step 1: Start
Step 2: Input the three numbers a, b,c
Step 3: Calculate the sum
Step 4: Calculate the average
Step 5: Print the result
Step 6: Stop
Source code:
Output:
Prac cal No.4
Aim:Write a program to find the area of circle.
So ware Used: CodeBlocks
Procedure:
Step 1: Start
Step 2:Input the radius r
Step 3: Ini alizes the PI=3.14
Output:
Prac cal No.5
Aim:write a program to find the area of right angle triangle .
Output:
Prac cal No.6
Aim:Write a program to find the sum of individual digits of a posi ve integer.
So ware Used: CodeBlocks .
Procedure:
Step 1: Start
Step 2: Enter the number
Step 3:Ini alize the sum = 0
Step 4:Find the first reminder
Step 5:Add this to the sum
Step 6:Find the new small number n/10
Source code:
Output: