class Table
{
int n;
void func(int n)
{
int k=2;
for(int i=1;i<n;i++)
{
System.out.println("table of "+k);
for(int j=1;j<=10;j++)
{
int a=j*k;
System.out.print(" "+a);
System.out.print(" ");
}
k=k+1;
System.out.print("\n");
}
}
public static void main(String k[])
{
Table t =new Table();
int num=Integer.parseInt(k[0]);//pass the number upto you want the tables eg:4
t.func(num);
}
}
To write a C++ program to display the student details using class and array of object.
$234
Inversing of a given Number. suppose we gave input 123456 then the output of the program will be 654321./*mycfiles.wordpress.comC program to print inverse of a given number*/#include#includevoid main(){long int n,rn=0,d=0;clrscr();printf("Enter the number\n\n");scanf("%ld",&n);while(n>0){d=n%10;rn=rn*10+d;n=n/10;}printf("%ld",rn);getch();}
One way to do this is to convert the number to a String, then use the corresponding String method to find out the length of the String.
program to extract a given word from a file
kjhk
The number of pixels in an inch of a photo or a screen or a camera is given by the software. You can change it if the program alow you to do so. Thanks rylwy
sdfsdfsfsggbcvbg
8086 assembly language program to check wether given number is perfect or not
No, thanks.
syntax error
reverse programe in fox pro
It was called the Apollo mission.
Yes.
To write a C++ program to display the student details using class and array of object.
simple program
To find the square root of a given number using the 8086 microprocessor, you can implement the Newton-Raphson method in assembly language. First, load the number into a register, then set an initial guess for the square root. Use the iterative formula guess = (guess + number / guess) / 2 until the guess converges to a stable value. Finally, store or display the result.