[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.3170204 [View]
File: 28 KB, 350x333, 1270332674779.jpg [View same] [iqdb] [saucenao] [google]
3170204

well said OP

>> No.2815718 [View]
File: 28 KB, 350x333, fuggin lol.jpg [View same] [iqdb] [saucenao] [google]
2815718

>inb4 college fags act like they're there because of anything you did

Taxes, bitch.

>> No.1582418 [View]
File: 28 KB, 350x333, 1262813496023.jpg [View same] [iqdb] [saucenao] [google]
1582418

>Why are you trying to synthesize MDMA dog? You are a dog, not a chemist. Give back my lab.
>Give back my lab
>my lab
>lab

YOU SO FUNNY OP!

>> No.1212575 [View]
File: 28 KB, 350x333, reac.jpg [View same] [iqdb] [saucenao] [google]
1212575

#include <stdio.h>
#include <conio.h>
#include <windows.h>
struct con
{ char name[40];
int num;
};

struct con c[5];


int i,aux,k,a;

int main()
{
menu: ;
printf("MENU!\n");
printf("\n1.- Introduce the data!");
printf("\n2.- print the ordered data!");
scanf("%i",&a);
if(a==1)
{
system("CLS");
for(i=0;i<5;i++){

printf("Introduce number:");
scanf("%i",&c[i].num);
printf("Introduce name:");
_flushall();
gets(c[i].name);
}
goto menu;
}//A


if(a==2)
{
for(i=0;i<5;i++)
{
for(k=0;k<5;k++)
{
int aux;
char au[40];
if(c[i].num < c[k].num){
aux = c[i].num;
c[i].num = c[k].num;
c[k].num = aux;

strcpy(au,c[i].name);
strcpy(c[i].name,c[k].name);
strcpy(c[k].name,au);

}
}
}
for(i=0;i<5;i++){
printf("%i",c[i].num);
printf("%s\n",c[i].name);
}
}//B
getch();
}

FINALLY!

>> No.1165867 [View]
File: 28 KB, 350x333, Tears.jpg [View same] [iqdb] [saucenao] [google]
1165867

>>1165724
>>1165724
>>1165724
>>1165724
>>1165724
>>1165724
>>1165724
>>1165724

Navigation
View posts[+24][+48][+96]