Answer:
import java.util.Scanner;
import java.lang.*;
class Main
{
public static void main(String args[])
{
int n;
//For capturing the value of n
Scanner scanner = new Scanner(System.in);
System.out.println("Enter the value of n:");
//The entered value is stored in the var n
n = scanner.nextInt();
int k=1;
printnum(n,k);
}
public static void printnum(int n,int k)
{
if(n%2==0)
{
for(int i=k;i<=n-1;i=i+2)
{
System.out.print(i);
}
System.out.println("");
}
else
{
for(int i=k;i<=n-1;i=i+2)
{
System.out.print(i);
}
System.out.println("");
}
n--;
if(n<=1)
{
System.exit(0);
}
else
{
printnum(n,k+1);
}
}
}
Explanation:
The program is self explanatory.
Answer:
Moderate investor
Explanation:
The moderate investors are most popularly known as 'Balanced investors'. They accepts the risk to principal and they adopt the balanced approach. They mainly uses a mixture of bonds and stocks.
They values the reducing risks and then enhancing the returns equally. They accepts modest risks so as to ensure higher long term returns.
Divide 1210 by 16 and write reminder divide until value zero
first step divide 1210 by 16 = 10
then 75 divide by 16 = 11
4
we can write 4 B A
in hexadecimal
Answer: civil engineer
Explanation:
Based on the information given, the type of engineer that would be identified as essential to the success of the project would be the civil engineer.
Civil engineers are the engineers that are in charge of the planning and overseeing building and infrastructure construction. They plan and monitor constructions involving bridges, road, houses, power plants etc.
Deleting a character when you make a mistake and the print it without errors