Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C program to add, average and deviation of numbers:
void main()
{
int sum=0,a[10],i;
float avg=0,dev,vari=0,var;
printf("Enter 10 interger \n");
for(i=0;i<10;i++)
scanf("%d",&a[i]);
sum=sum+a[i];
}
avg=sum*0.1;
var=var+pow((a[i]-avg),2);
vari=var/10;
dev=sqrt(vari);
printf(" Sum = %d \n Avrage= %f \n Variance = %f \n Deviation = %f \n",sum,avg,vari,dev);
getch();
example of program to add two number
C Program to Check EVEN & ODD NO main() { int n, a; clrscr(); printf("ENTER ANY NUMBER: "); scanf("%d", &n);
The voltage at the terminals of a battery is 52V when no load is linked and 48.8V when a load taking 80A is connected. Find the internal resistance of the battery. What wou
Program is to read the contents of a file: void main() { ifstream fin("ascii.txt"); char ch; while(! fin.eof()) { fin>>ch; cout }
Assume variables x, f, and d are of type int, float, and double, respectively. Their values are arbitrary, except that neither f nor d equals +∞, -∞, or NaN . For each of the fo
A constructor that accepts one argument of a dissimilar type.
Find out initial basic feasible solution for the given transportation problem using Least Cost Method (LCM).
Public derivation Public derivations are much more common than private derivations. In this situation: The private members inherited from the base class are inaccessible
Queue - C++ program: Write a program to show the basic operations on queue. namespace stack { const int max_size = 200; char v(max_size); int top=0; void pu
Define the Float Data Type of c Language? The float is used to define floating point numbers. The Floating point numbers are stored in 32 bits with 6 digits of precision. Eg
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd