Print even number from 100-2
Computer--Problem Solving Using computer
Please send me the answers in a written notebook. This question is from the textbook named PYTHON CLASS X. please send the answers....
Answers
Answered by
1
Answer:
Printing numbers from 1 to 100 using recursive functions has already been discussed in Set-1 . In this post, other two methods have been discussed:
Using goto statement:
C++
#include <iostream>
using namespace std;
int main()
{
int i = 0;
begin:
i = i + 1;
cout << i << " ";
if (i < 100)
{
goto begin;
}
return 0;
}
// This code is contributed by me
this is for 1 to 100 only
sorry I do not know after that
did with lots of effort, please mark it as the branliest answer✍✍
Similar questions