#include #include int main(int argc, char const *argv[]) { std::cout << "Voce passou " << argc << " argumentos\n"; for (int i = 0; i < argc; ++i) { std::cout << "Argumento " << i << ": " << argv[i] << std::endl; } int primeiro = std::stoi(argv[1]); int segundo = std::stoi(argv[2]); double terceiro = std::stod(argv[3]); std::cout << primeiro + segundo + terceiro << std::endl; }