Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++

#include<stdio.h>
#include<math.h>


int main()
{
	int p,i,x,n,n1,n2,n3,n4,n5,n6,n7,n8;
	i=0;
	x=0;
	n1=0;
	do
	{
		
		printf("entrez une valeur positive: ");
		scanf("%d",&n);
		
		if (n>0) 
		x=x+1,
		i=n;
		do
		{
			p=10pow(i);
			n1=n1*;
			i=i-1;
		}
		while (i>0);
		
		
		
	}
	while (x<8);
	
	
	
	
}
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+5 =