GatoBooster

Certamen1/Parte1/2°Semester/1°Año

Sep 6th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.79 KB | None | 0 0
  1. //gcc 5.4.0
  2.  
  3. #include  <stdio.h>
  4.  
  5. int main(void)
  6. {
  7.     /*
  8.     int variable=34;
  9.     if(variable=0){
  10.         printf("MSJ 1");
  11.     }else{
  12.         if(variable > 30){
  13.             printf("MSJ 2");
  14.         }else{
  15.             printf("MSJ 3");
  16.         }
  17.     }
  18.     */
  19.    
  20.     /*
  21.     unsigned int variable = 4;
  22.    
  23.     switch(variable){
  24.         case 1 : printf("1");
  25.         case 2 : printf("2");
  26.         case 3 : printf("3");
  27.         case 4 : printf("4");
  28.         case 5 : printf("5");
  29.         case 6 : printf("6");
  30.     }
  31.     */
  32.    
  33.     /*
  34.     int i,j;
  35.    
  36.     for(i=10,j=1;i>=j;i--,j++)
  37.     {
  38.         if(i%3){
  39.             continue;
  40.         }
  41.         if(i<6){
  42.             break;
  43.         }
  44.         printf("%d - %d \n",i,i);
  45.        
  46.     }
  47.     */
  48.    
  49.     return 0;
  50. }
Advertisement
Add Comment
Please, Sign In to add comment