i have many questions to ask with regards to C++. In our programming class we do not use the "#include<iostream.h>" or something like that and MANY MORE! :D it is a lot different from ours anywhere i look. :D here is an example of our program. :D
#include<stdio.h>
#include<conio.h>
int x;
float y,z;
int sum;
float prod,ave;
main()
{
printf("Enter three integer values:\n");
scanf("%d,%f,%f",&x,&y,&z);
sum=(x+y+z)*(x+y+z);
prod=(float)(x*y*z)*(x*y*z)*(x*y*z);
ave=(float)(x+y)/2;
printf("the square of the sum is %d\n",sum);
printf("the product of the cube is %4.2f\n",prod);
printf("the average of the 1st and 2nd is %4.2f\n",ave);
getch();
}
could someone please explain to me why is it different? :D and could someone teach me or where i can learn? please? :D thank you! :D