In which areas programming is being used ?
Answers
Answer:
_________________________________________
programming is being used in Java for developing games and in in HTML and CSS which are used to develope or Higlighte web pages.
_________________________________________
Examples of programs are (Java)
2. Write a Java program to calculate a Factorial of a number.
package Edureka;
import java.util.Scanner;
public class Factorial {
public static void main(String args[]){
//Scanner object for capturing the user input
Scanner scanner = new Scanner(System.in);
System.out.println("Enter the number:");
//Stored the entered value in variable
int num = scanner.nextInt();
//Called the user defined function fact
int factorial = fact(num);
System.out.println("Factorial of entered number is: "+factorial);
}
static int fact(int n)
{
int output;
if(n==1){
return 1;
}
//Recursion: Function calling itself!!
output = fact(n-1)* n;
return output;
}
}
_________________________________________
Answer:
Programming is being used in the areas of IT companies, Hardware companies, Software companies, Web development companies, Game development companies, Software development companies, Electronics companies and LCD companies. Programming is used in networking companies, mobile companies and smartphone companies. Programming is also used in super computer companies and computer companies. Programming is mostly used in the purpose of research like research organization and research centres. Some programming languages are Java, C and C++ language. Programming is used in the mobile application development companies. Today, the most famous programming language is Java because now-a-days many mobile applications are formed like YouTube, Google, Brainly, Scholr and much more. It is possible due to the Java programming language.