Answer:
Given
The above lines of code
Required
Rearrange.
The code is re-arrange d as follows;.
#include<iostream>
int main()
{
int userNum;
scanf("%d", &userNum);
if (userNum > 0)
{
printf("Positive.\n");
}
else
{
printf("Non-positive, converting to 1.\n");
userNum = 1;
printf("Final: %d\n", userNum);
}
return 0;
}
When rearranging lines of codes. one has to be mindful of the programming language, the syntax of the language and control structures in the code;
One should take note of the variable declarations and usage
See attachment for .cpp file
Answer:
Redundant networks are generally more reliable.
Explanation:
in 1990, when computer scientist Tim Berners-Lee invented the World Wide Web.
Answer:
When you ask a question, people have to option to responds and when you have two different users respond on your question, there is the option to give one of them the Brainliest award for the best answer.
Hope this Helps!