Here is the simple program for printing given word upto limit using Goto Statement in C++.
#include<iostream> using namespace std; int main() { int i=1,n; cout<<"\nEnter The Limit:"; cin>>n; start: cout<<"\nGoto"; i++; if(i<=n) { goto start; } return 0; }To download raw file Click Here
Enter The Limit:5 Goto Goto Goto Goto Goto
Learn All in Tamil © Designed & Developed By Tutor Joes