EJERCICIOS DE PROGRAMACION G++

1




2




3

# include <iostream>
# include <stdio.h>
using namespace std;

int main ()
{
     Inta,b ;
     a=6;b=3;
     printf("(%d - %d)(%d + %d)=%d “,a,b, ((a - b) * (a + b)));
getch ( ) ;
}
4




7




8




9




10
15




19




21

Cristina

  • 1.
    EJERCICIOS DE PROGRAMACIONG++ 1 2 3 # include <iostream> # include <stdio.h> using namespace std; int main () { Inta,b ; a=6;b=3; printf("(%d - %d)(%d + %d)=%d “,a,b, ((a - b) * (a + b))); getch ( ) ; }
  • 2.
  • 3.