[Solved] I need to make a function to print “=” under the user, but because variable was declared with main() the parameter isn’t seen by the function [closed]
There are a few errors in your program. Firstly, you declare your function parameter without setting the data type of the parameter. Generally, declaring a function has the following format: return_type function_name(input_type input_parameter, …) { // Do whatever you want } In the above, the input type refers to the data type of the variable … Read more