#Pseudocode Exam Question

1 messages · Page 1 of 1 (latest)

opal estuary
#

What would you guys do for this I feel like what I did was too short so wanna see what others would've put and compare

normal nimbus
#

We can't know if you did or not and we don't do other people's homework (see the #📜・rules ) Instead, show us what you did and we can tell you if it's good or not and what you could improve.

Ps. Please chose a better more descriptive title and chose only the tags that are related to your problem. Otherwise I'll close and lock this post.

opal estuary
#

OK thanks

normal nimbus
#

Take a minute to read the #📄・posting-guidelines

opal estuary
#

class Video
private attributes:
__name
__views
__star_rating

constructor method Video(name)
    set __name to name
    set __views to 0
    set __star_rating to 3

method get_name()
    return __name

method get_views()
    return __views

method get_star_rating()
    return __star_rating

method set_name(name)
    set __name to name

method set_views(views)
    set __views to views

method set_star_rating(star_rating)
    set __star_rating to star_rating
#

Pseudocode Exam Question

normal nimbus
#

Can you format your code as indicated in the #📄・posting-guidelines

#

Otherwise it's hard to read