What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » C question.

C question.
Author: Message:
.Roy
Veteran Member
*****

Avatar

Posts: 1526
Reputation: 11
20 / Male / –
Joined: Aug 2004
O.P. C question.
Well i have this:

#include <stdio.h>
#include <conio.h>

void main(void)

{

float a,b;
clrscr();
scanf("%f%f", &a,&b);
printf("%f \n %f", a,b);

}

anyway what i need to do, is make the a and b switch. What i mean is for the rest of the program A will be what i entered for B and B will be what i entered FOR A.

Now i dont want you to tell me how to do this, just tell me if its possible and a tip maybe o.O
09-21-2006 12:39 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
C question. - by .Roy on 09-21-2006 at 12:39 PM
RE: C question. - by Ezra on 09-21-2006 at 12:48 PM
RE: C question. - by .Roy on 09-21-2006 at 12:58 PM
RE: C question. - by Ezra on 09-21-2006 at 01:02 PM
RE: C question. - by John Anderton on 09-21-2006 at 01:11 PM
RE: C question. - by .Roy on 09-21-2006 at 01:24 PM
RE: C question. - by .Roy on 09-21-2006 at 01:25 PM
RE: C question. - by Eljay on 09-21-2006 at 01:33 PM
RE: C question. - by .Roy on 09-21-2006 at 01:46 PM
RE: C question. - by RaceProUK on 09-21-2006 at 02:23 PM
RE: C question. - by .Roy on 09-21-2006 at 03:53 PM
RE: C question. - by RaceProUK on 09-26-2006 at 11:29 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On