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();
Railway station simulation code in c programming
what are 3 conditions under which the sequential search of a list is preferable to binary search?
Define a complex number in c program: class complex { private: in
Operators The variables, which are declared and explained, are the operands, which are operated upon by the operators. Operators specify what operations are to be performed on
Write an algorithm for multiplication of two sparse matrices using Linked Lists.
For the circuit shown in Figure, verify the p.d. across resistor R3. If the total resistance of the circuit is 100Ω, verify the current flowing by resistor R1. Find also the
What is conversion operator? Explain it with example.
Is there any difficulty with the following : char*a=NULL; char& p = *a;? A: The result is indeterminate. You must never do this. A reference has to always refer to some object.
world wide web
What if one forget the [] when deleteing array allocated through new T[n]? A: All life comes to a disastrous end. It is the programmer's responsibility not the compiler's to
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