Question: hi. pls help me construct a flowchart refer to the programming below. explain on how to construct flowchart using flowgorithm. thank you. cheersss need to

hi. pls help me construct a flowchart refer to the programming below. explain on how to construct flowchart using flowgorithm. thank you. cheersss

need to use this data file in same directory or in same folder then rename it as "marks.txt". here the data:

92 80 77 67 60 56 49 35 31 23

#include #include using namespace std;

main() { cout<<"Prepared by: "; cout<<"-------------------------------- "; cout<<" ~ AHMAD HAZIM BIN MOHD ROSLI ~ "; cout<<" ~ 2020762553 ~ "; cout<<" ~ ECE431 ~ "; cout<<"-------------------------------- "; cout<<" "; int arr[200]; int number,l=0; fstream my_file; my_file.open("marks.txt", ios::in); if (!my_file) { cout << "No such file"; } else { while (my_file >> number) { arr[l]=number; l+=1; } } cout<<"Marks \tGrade "; for(int i=0;i=90) grade="A"; else if(arr[i]>=80 && arr[i]<=89) grade="B"; else if(arr[i]>=50 && arr[i]<=79) grade="C"; else if(arr[i]>=40 && arr[i]<=69) grade="D"; else if(arr[i]>=30 && arr[i]<=59) grade="E"; else grade="F"; cout<

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!