banner



1 9 Of A Circle

Problem Statement

                                  Problem Description                  : Write Algorithm, Flowchart and Program to Find Area of a Circumvolve for which Radius is given.                  Example 1 :                                    Input  :                  radius is 4                  Output :                  50.24                  Explanation :                  Circle area formula is 3.fourteen*radius*radius = three.14*iv*4 = 50.24                  Example 2 :                    Input  :                                      radius is 5                    Output :                                      78.54                    Explanation :                                      Circle expanse formula is 3.14*radius*radius = iii.xiv*5*5 = 78.54                                                

Algorithm

                Input : radius of a circle Step ane: Start Step 2: Read radius  Step 3: Calculate surface area, surface area = 3.14*radius*radius Pace 4: Impress area Step 5: Cease Output: area              

Flow Chart

Area of a Circumvolve – Flowchart

Lawmaking Implementation

  • Java
#include<stdio.h>  int main() {      // Read radius     float radius;     printf("Enter Radius : ");     scanf("%f", &radius);      // calculate area     float area = 3.fourteen*radius*radius ;      // impress surface area     printf("Area of Circle with radius %f is %f\n", radius, surface area);     return 0; }                    
import java.util.Scanner;  public form CircleArea {      public static void master(Cord[] args) {         Scanner sc = new Scanner(System.in);          // Read radius         Organisation.out.print("Enter radius : ");         float radius = sc.nextFloat();          // Calculate Area         double area = three.fourteen * radius * radius;          // Impress area         System.out.printf("Area of circle with radius %f is"             + " %f \n", radius, area);     } }                    
                Output 1 :  Enter radius : four Area of circumvolve with radius iv.000000 is 50.240000                              
                Output 2 :  Enter radius : 5 Surface area of circle with radius 5.000000 is 78.500000              

Flowchart Tutorials

  • Flowchart Symbols and Notation
  • Largest of Two Numbers
  • Sum of Two Numbers
  • Sum of due north Given Input Numbers
  • Sum of First n Natural Numbers
  • Area of a Circle
  • Excerpt Digits of a Number

DSA Tutorials and Interview Questions

  • For DSA Tutorials visit => Data Structures and Algorithms Tutorial
  • For DSA Interview Questions visit => Information Structures and Algorithms Interview Questions

1 9 Of A Circle,

Source: https://technologystrive.com/area-of-a-circle-flowchart-algorithm-and-code/

Posted by: witherswhook1942.blogspot.com

0 Response to "1 9 Of A Circle"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel