Computer Science, asked by 6698, 10 months ago

1. Write a program to input any two integer numbers and interchange the value s using a third variable.
2. Write a program to input any two integer numbers and interchange the value without using a third variable.
3. Write a java program to input three digit numbers and print the addition of all the digits. Ex: Input: 367 → 3+6+7 =16 → Output: 16
4. Write a java program to input three digit numbers and print all the digits on the new lines. Input: 354 Output: 3 5 4 5. Write a java program to input an integer number and check whether it is even or odd. (Use conditional operator).

Answers

Answered by hooriyakafeel75
0

Answer:

Hope will help u mark me as brainliest

Attachments:
Similar questions