RDV+DIAL chat illimit� dans ta r�g!
no save
Assistance
Achat
News

Forum | programmation
langage c problème avec un exercice
ben, le lun. 15 oct. 2007 à 15:32:22
bonjour
un utilisateur doit encoder deux nombre et un opérateur et le programme fait le calcul correspondant au moyen des deux valeurs donnée voici le début de mon programme mais après je suis bloqué!
#include <stdlib.h>
#include <stdio.h>

void main (void)
{
int a,b,c;
printf("entrez premiere valeur:");
scanf("%d",&a);
printf("entrez deuxieme valeur:");
scanf("%d";&b);
printf("entrez operateur");
scanf("%d",&c);

/* 1=addition;
2=soustraction;
3=multiplication;
4=division; */

if ( c=1)
{ Configuration: Windows XP
Internet Explorer 6.0


mamiemando
oct. 07
Suivant
REPONSES
mamiemando
oct. 07
ben
oct. 07
mamiemando
oct. 07
spidag
oct. 07
mamiemando
oct. 07
iki
déc. 07
mariam
juin 08
gigaga
juin 08
Version Web
Réalisé par RedShift
no save