Much apreciated thank you!
Type: Posts; User: ArtistMan35
Much apreciated thank you!
#include <stdio.h>
int main(void){
char c1,c2,c3,x,y,z;
printf("Enter three capital letters: ");
scanf("%c%c%c",&c1,&c2,&c3);
Thanks alot!!
I fixed the error, however something in the program isn't working my out put is now:
Please enter 5 different characters: ABCDE
You entered: ότ
Shifting...
Basically it just shifts the order in which each are printed ie.:
if ABCDE is entered the function returns with BCDEA etc.
Sorry, I'm pretty new at this what exactally do I need to change to...
insert
#include <stdio.h>
char a,b,c,d,e,p1,p2,p3,p4,p5;
void shift(char *p1, char *p2, char *p3, char *p4, char *p5){
char *p6;
*p1 = *p6;