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 check FACTORIAL
main()
{
int i,j,m,fact,sum=0;
clrscr();
printf("ENTER THE NO.: ");
scanf("%d",&m);
for(i=1;i<=m;i++)
fact=1;
for(j=1;j<=i;j++)
fact=fact*j;
}
printf(" %d * ",i);
sum=sum+fact;
printf(" = %d",sum);
getch();
OUTPUT :
ENTER NO: 5
1 * 2 * 3 * 4 * 5 * = 120
Program is to append the contents of one file to another: void main() { clrscr(); fstream file1,file2; char st1[13],st2[13];/* 13 because a filename canno
Explain the Declaration of Multi Dimensional Arrays? In the figure, the range in the first dimension is 3 and in the second dimension is 4. The shaded portion corresponds to th
Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will p
write a c program to solve exanple of lamis therom
Write a C++ program that calculates the area of a circle, rectangle and square using overloaded versions of a function area ().Your program should include both declarations and def
Draw pie chart in c++ program: int main() { char cmd; cout cout cmd = toupper(getch());
I have a program for school and I am not understanding why one of the variables gets skipped or the arithmetic operators aren''t having any effect as I have tryed defining it sever
When I develop a destructor, do I require to explicitly call the destructors for my member objects?
List any six commonly found programming errors in a C program Six commonly found errors in a C program are: 1. Missing or misplaced ; or }, missing return type for a proc
A: If you employ auto_ptr objects you would not need to be concerned along with heap objects not being deleted even if the exception is thrown.
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