gondola.cpp:1:17: error: 'n' was not declared in this scope
int replacement(n, gondolaSeq, replacementSeq){
^
gondola.cpp:1:20: error: 'gondolaSeq' was not declared in this scope
int replacement(n, gondolaSeq, replacementSeq){
^~~~~~~~~~
gondola.cpp:1:32: error: 'replacementSeq' was not declared in this scope
int replacement(n, gondolaSeq, replacementSeq){
^~~~~~~~~~~~~~
gondola.cpp:1:32: note: suggested alternative: 'replacement'
int replacement(n, gondolaSeq, replacementSeq){
^~~~~~~~~~~~~~
replacement
gondola.cpp:1:46: error: expression list treated as compound expression in initializer [-fpermissive]
int replacement(n, gondolaSeq, replacementSeq){
^
gondola.cpp:5:22: error: 'n' was not declared in this scope
int countReplacement(n, inputSeq){
^
gondola.cpp:5:25: error: 'inputSeq' was not declared in this scope
int countReplacement(n, inputSeq){
^~~~~~~~
gondola.cpp:5:33: error: expression list treated as compound expression in initializer [-fpermissive]
int countReplacement(n, inputSeq){
^
gondola.cpp:9:11: error: 'n' was not declared in this scope
int valid(n, inputSeq){
^
gondola.cpp:9:14: error: 'inputSeq' was not declared in this scope
int valid(n, inputSeq){
^~~~~~~~
gondola.cpp:9:22: error: expression list treated as compound expression in initializer [-fpermissive]
int valid(n, inputSeq){
^