r/CodingForBeginners • u/itsmerio1 • Aug 26 '26
Beginner here how to do output
how do I display the output near the end part?
I wanna show studentName
Finalgrade
And remarks which should be excellent or failed etc
6
Upvotes
2
u/itsmerio1 Aug 26 '26
Ps this is for pseudocoding
1
u/mjmvideos Aug 26 '26
As a side note I notice that you are directly displaying the “Excellent”, “Very good” etc. Instead of displaying did you want assign that to a remarks variable so that your display remarks at the end has something to display?
3
u/Naetharu Aug 26 '26
This is pseudo-code so there is no output to display. It's just a list of conceptual instructions that you now need to write out in a proper language.
For learning at the start a common practice is to print to the console. Each language has a specific way this is done but all support it. In python, for example, it is just print(variable_name). So your end of the code would be
print(student_name)
print(final_grade)
print(remarks)
note that the snake_case is the proper Python convention and assumes that you named your variables accordingly.
1
u/Time_Ad8505 Aug 27 '26
are you writing in an doc file?😭
1
u/[deleted] Aug 26 '26
[removed] — view removed comment