At Westonci.ca, we make it easy for you to get the answers you need from a community of knowledgeable individuals. Experience the ease of finding reliable answers to your questions from a vast community of knowledgeable experts. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.
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

Thank you for visiting. Our goal is to provide the most accurate answers for all your informational needs. Come back soon. Thanks for stopping by. We strive to provide the best answers for all your questions. See you again soon. We're dedicated to helping you find the answers you need at Westonci.ca. Don't hesitate to return for more.