by this program you can find the factorial:
#include<iostream>
using namespace std;
main()
{
int n,x,f=1;
cin>> n;
x=0;
while(x<n)
{
x++;
f= f*x;
}
cout<<"factorial is"<<f<<"\n";
system("pause");
return 0;
}
write a c++ program to convert binary number to decimal number by using while statement
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
12
This is not a question.
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
write a c++ program to convert binary number to decimal number by using while statement
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
write a c++program by using if statement to read a number and check whether it is positive or negative
12
This is not a question.
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
To write a C program to determine if something is odd or even you need to be a programmer. To write a program in C is complicate and only done by programmers.
write a sample program using asp.net explaining all the syntax and semantics of the program
Please be more explicit, 57252077 is a bit of a mystery. Do you want a program that uses the number 57252077 in some way?
There isn't a reason to write a complete program to do this; in any assembly language just shift the value 1 bit to the left to double it.
write a vb program to find the magic square
Write a program to convert a 2-digit BCD number into hexadecimal