Unit-1: Problem Solving
Unit-1: Problem Solving
Step 1: Start
Step 2: Accept the length of the rectangle.
Step 3: Accept the breadth of the rectangle.
Step 4: Calculate the area using:
Area = Length × Breadth
Step 5: Display the area of the rectangle.
Step 6: Stop2. Input the first number as no1.
3. Input the second number as no2.
4. Calculate sum=no1+no2.
5. Display the result as sum value.
6. End
Step 1: Start
Step 2: Input first number as no1
Step 3: Input second number as no2
Step 4: if no1==no2
then print “ Equal”
else:
print “Not Equal”
Step 5: Stop
Step 2: [Initialization] set i=1, n=10
Step 3: Repeat Step 4 While i<=n
Step 4: Print i
Step 5: Stop