Skip to content

Cornerstone-CICCC/algorithms-flowchart-exercise-HIROKIIINOUE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Review Assignment Due Date

Flowchart Exercises

Requirements

  • Clone this repository to your local machine.
  • Create a pseudocode and draw a flowchart for the following exercises.
  • You should use Whimsical to draw the flowcharts.
  • Take a screenshot and add each flowchart to the flowcharts folder. Use the command line to create the folder.
  • Add each flowchart to the answer section of this file as image.
  • Each exercise should be in a different commit.
  • If you want to make changes after your commit, you should create a new commit.

Exercise 1

Write an algorithm and draw a flowchart to convert the length in feet to centimeters.

Pseudocode:

  • Input length in feet (LFT)
  • Calculate the length in cm (LCM) by multiplying LFT by 30
  • Print length in cm (LCM)

Exercise 2

Write an algorithm and draw a flowchart that will read the two sides of a rectangle and calculate its area.

Pseudocode:

  • Input the width (W) and the length (L) of a rectangle
  • Calculate the area (A) by multiplying W by L
  • Print A

Exercise 3

Write an algorithm and draw a flowchart that will read three numbers and prints the value of the largest number.

Given that the three numbers are not equal to each other)

Exercise 4

Write an algorithm and draw a flowchart to check the three number inputs whether a triangle is possible or not.

Exercise 5

Draw the flowchart for the following:

Accept the name and marks obtained by a student in Computer Project.

Display the grades as per the table given below:

Marks obtained Grade
80% or more A
60% or more but less than 80% B
40% or more but less than 60% C
Less than 40% No Grade

About

cornerstone-ciccc-classroom-e-0925-elmer-algorithms-flowchart-exercise-ciccc-algorithms-flowchart-ex created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%