Thread: help :S
View Single Post
Join Date: Nov 2008
Posts: 5
Reputation: mstrofdrgns is an unknown quantity at this point 
Solved Threads: 0
mstrofdrgns mstrofdrgns is offline Offline
Newbie Poster

help :S

 
0
  #1
Nov 20th, 2008
hey there ,

Im taking C++ courses in my collage (so ım a newbie) and they are teaching programing language a bit different from the examples in this forum.
  1. #include <stdio.h>
  2.  
  3.  
  4. int main (void)
  5. {
  6. int x;
  7. int y;
  8. int z;
  9. int min;
  10. printf("enter 3 numbers : ");
  11. scanf("%d %d %d", &x,&y,&z);
  12.  
  13. min=x;
  14. if (y<x && y<z)
  15. y=min;
  16. if (z<x && z<y)
  17. z=min;
  18.  
  19. printf("min is : ", min);
  20. return(0);
  21. }
well this works too, but ı can not understand most of the programs in this forum

is there any place to learn how to write that " cout << ".... ; " thing or something like this
ty for helping this newcommer


/* sorry for my bad english ı hope u could understand what ı meant */
Last edited by Ancient Dragon; Nov 20th, 2008 at 8:22 pm. Reason: add code tags
Reply With Quote