Welcome to Westonci.ca, where you can find answers to all your questions from a community of experienced professionals. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.
Sagot :
Answer:
#include <iostream>
using namespace std;
void OutputValues(int n1, int n2) {
for (int i = n1; i <= n2; i++) {
cout << i << endl;
}
}
int main() {
int num1;
int num2;
cin >> num1 >> num2;
OutputValues(num1, num2);
return 0;
}
Explanation:
In this exercise we have to use the knowledge in computational language in C++ to describe a code that best suits, so we have:
The code can be found in the attached image.
To make it simpler we can write this code as:
#include <iostream>
using namespace std;
void OutputValues(int n1, int n2) {
for (int i = n1; i <= n2; i++) {
cout << i << endl;
}
}
int main() {
int num1;
int num2;
cin >> num1 >> num2;
OutputValues(num1, num2);
return 0;
}
See more about C++ at brainly.com/question/19705654

We hope our answers were useful. Return anytime for more information and answers to any other questions you have. We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. Westonci.ca is your go-to source for reliable answers. Return soon for more expert insights.