2. In this program ,the label again is used besides the c
out statement. The condition checks if the value of
the total is not yet equal to 100, then it transfer the
control back to the c out statement and accept
another number form the user.
The statement goto again; transfer the control to this
c out statement which asks for another input form
the user.
3. Program :- Write a program to accept 10,2-digit number form user and
add them. If the user enters a three digit number stop accepting the
numbers and display the sum.
#include<iostream.h>
#include<conio.h>
Void main ()
{
Clrscr();
Int n,total=0,I;
For(i=1;i<10;i++)
{
Cout<<“enter a number :”;
Cin>>n;