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();
Consider the following algorithm to generate a sequence of numbers. Start with an integer n. If n is even, divide by 2. If n is odd, multiply by 3 and add 1. Repeat this process wi
Create a program that asks the user for two integers which represent the numerator and denominator parts of fraction. Print out a simplification of the fraction. Example: Enter th
Q: Name the operators which cannot be overloaded? A:sizeof, ., .*, .->, ::, ?:
C Program for MAXIMUM NO, MINIMUM NO AND SORTING void main() { int i,j,t; int a[5]; clrscr(); for(i=0;i
Scope Resolution operator: The scope resolution operator: : is used to access global variable in the inner block. When global and local variable are identical name the scope re
program that counts the number of occurrences of the string in the n-th padovan string p(n)
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
write a c++ program for the sum of 10 numbers and print out the average
Aim: To implement a program to find area of rectangle, surface area of box and volume of box using virtual functions. Code: class rect {
I have a Matlab assignment and I have the assignment description+ algorithm + and the output sample. the files are on a dropbox folder and you can download them from the link below
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