0

Write an algorithm and draw a flowchart to inputs marks and display "passed " if the marks or 40 or more else display "failed ".

21st Mar 2017, 4:56 PM
Tehreem
4 Réponses
+ 4
int marks; cin>>marks; if (marks >= 40) cout<<"passed"; else cout<<"failed";
21st Mar 2017, 5:05 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 1
You should learn to study your programming questions carefully and figure them out on your own. Presenting some form of work on your part with your question, will motivate someone to help you out. Try Pseudo coding to figure out programming questions. Example (Pseudo code): display input box get input from user store input as integer in variable check if variable is greater than 40 print "passed" if variable is greater than 40 print "failed" if variable is less than 40
21st Mar 2017, 5:10 PM
Ghauth Christians
Ghauth Christians - avatar
0
To check an print pass/Fail of given obtain mark assuming pass mark 40
3rd May 2023, 2:12 AM
Hari Sunar
Hari Sunar - avatar
- 1
hey guys pls help write an algorithm to display a marks entered by user @ Grade A:100-90 @ Grade B:89-70 @ Grade C:69-50 @ Grade F below 50 please someone to help
27th Jan 2020, 4:35 PM
Nsengiyumva Alexis
Nsengiyumva Alexis - avatar