.exe Indicates a windows executable file. These files are compiled in a variety of different programming languages and can accomplish a variety of tasks. .msi Files are database files that have pre packed dependencies, code, etc that is used by the Windows Installer to install a program package onto the host PC. .msp Indicates a Miscrosoft Patch file that may be used for patching or changing a program/firmware that pre-exists on the host PC. .inf Indicates an information file that is commonly used by programs/installers to outline the parameters for the program/installation to run.
Answer:
Different business or firm tend to enforce different Information Systems based completely on their main business operations, in order to best leverage data as an organizations asset. Some of these Information System are as follow:
a) Transaction Processing System
(TPS):
A small organization tends to process transactions that might result from day-to-day activities, such as purchase orders, creation of paychecks and thus require using TPS.
b) Management Information System(MIS):
Managers and owners of small organizations tend to incline towards industry-specific MIS, in order to get historical and current operational data, such as inventories data and sales.
c) Decision Support System
(DSS):
A DSS to allow managers and owners of small organizations to use predefined report in order to support problem-resolution decisions and operations planning.
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.