1) Write a program that asks the user to input an integer and the output the individual digits of the number.
2) Write a program that asks the user to input an integer and then output the number with the digits reversed.

i don't really know how to this using array. please help me!!

Both questions are very similar. You need to do the following:

1. Prompt the user for an integer.
2. Store the digits of the integer in an array.
3. Loop over the digits (Q1 in normal order, Q2 in reverse order) and print them out one by one.

We are not allowed to do this for you, but there is a breakdown of what you need to do. Give it a try and if you get stuck post some specific questions (with code to show what you've tried) and we will try to help you out.

import java.util.Scanner;
public class IntNum
{
public static void main(String[] args)
{
Scanner reader = new Scanner(System.in);
int num, rem, condition;
System.out.print("Enter a number: ");
num = reader.nextInt();
condition = num;
int count = 0;
while (condition > 0)
{
condition = condition / 10;
count = count + 1;
}
count = count - 1;
System.out.println("The individual digits:");
while (count >= 0)
{
rem = num % (int) Math.pow(10, count);
num = num/(int) Math.pow(10,count);
System.out.print(num + " ");
num = rem;
// store num in array for question no. 2
count = count - 1;
// process the array for question no. 2
}

(that one is number 1 but when i run it still there's error)

Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...

When I execute this progammatically, I get a table with row heights much larger than when I do this manually.

Note : Sel is the Word.Selection object and the Clipboard contains an Excel Table.

public void AddClipboard()
{
Sel.PasteExcelTable(false,false, false);
var t = Sel.Tables[Sel.Tables.Count];
t.AutoFitBehavior(Word.WdAutoFitBehavior.wdAutoFitContent);
}

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...