public/subjects/blockchain/lineup
nprimo 4fa5c876a7 docs: run prettify and move h1 to h2 2023-06-09 09:17:48 +01:00
..
README.md docs: run prettify and move h1 to h2 2023-06-09 09:17:48 +01:00

README.md

Lineup

For this to be a good festival, you need to register artists. Hip hip hip, arrays!

Instructions

  • Create a new Smart Contract Lineup.
  • Create a function addArtist(string) that takes as parameter a string. Artists are added in their order of registration.
  • Create a functionlineup(uint) that given an index returns the name of corresponding artist.

Hint

Public variables offer an implicit getter function

Notions