MEAN Algorithm

The MEAN algorithm is an acronym for a popular web development stack that consists of four open-source components: MongoDB, Express.js, Angular.js, and Node.js. This technology stack offers an end-to-end framework for building dynamic, scalable, and highly efficient web applications by utilizing JavaScript as its core programming language across both the client and server-side environments. MEAN combines the power of NoSQL databases, flexible server-side development, and modern front-end frameworks to provide developers with a comprehensive and powerful toolset for creating modern web applications. MongoDB is a highly scalable and high-performance NoSQL database that stores data in a flexible, JSON-like format, which makes it an excellent choice for handling large amounts of unstructured and semi-structured data. Express.js is a lightweight, minimalist web application framework for Node.js, which simplifies the development of web applications by providing a robust set of features and middleware for building APIs and web applications. Angular.js is a powerful client-side JavaScript framework developed by Google that allows developers to build dynamic, single-page applications (SPAs) with a highly modular and reusable code structure. Lastly, Node.js is a server-side JavaScript runtime environment built on Google Chrome's V8 engine, enabling developers to build scalable and high-performance web applications using a single programming language for both client and server-side development. Together, these technologies provide a streamlined, efficient, and highly maintainable framework for web application development.
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
	int a[10],n,i,j,temp,sum=0;
	float mean;
	clrscr();
	printf("Enter no. for Random Numbers :");
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		a[i]=rand()%100;
	}
	printf("Random Numbers Generated are :\n");
	for(i=0;i<n;i++)
	{
		printf("\n%d",a[i]);
	}
	printf("\n");
	printf("\nSorted Data:");
	for(i=0;i<n;i++)
	{
		for(j=0;j<n;j++)
		{
			if(a[i]<a[j])
			{
				temp=a[i];
				a[i]=a[j];
				a[j]=temp;
			}
		}
	}
	for(i=0;i<n;i++)
	{
		printf("\n%d",a[i]);
		sum=sum+a[i];
	}
	mean=sum/(float)n;
	printf("\nMean :");
	printf("%f",mean);

	getch();
}


LANGUAGE:

DARK MODE: