Добавил:
korayakov
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабы / С++Builder / Laba1 / LAB19
.CPP#include "string.h"
#include "stdio.h"
#include "iostream.h"
#include "conio.h"
void main()
{
clrscr();
int n,x;
printf("Input nomber of fact: n=");
scanf("%d",&n);
x=n;
for (int i=1;i<x;i++) n*=i;
printf("%d!=%d",x,n);
}