Pls help with my code

whats wrong with my code ???

#include <iostream> #include "fns.hpp" int main() { int pattern(1); std::string introduction(); }
int pattern(int num); std::string introduction();
int pattern(int num) { std::cout << num << " " << num << "\n"; std::cout << num << num << num << num << num << num << "\n"; } std::string introduction() { std::cout << "My name is dhwcuqwcb and i'm learning C++. \n"; }

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.