Answered You can hire a professional tutor to get the answer.
C++ code; rewrite the following code in C#. Run the program and submit.
C++ code; rewrite the following code in C#. Run the program and submit. - include comments
- #include <iostream>
- using namespace std;
- int main()
- {
- int count=1, total=0;
- while(count<=100)
- {
- total +=count;
- count++;
- }
- cout<<"The sum of the numbers 1 - 100 is "<<total<<endl;
- return 0;
- }