Code:
#include <iostream>
#include <cstring>
#include <conio.h>
#include <ctype.h>
void alignLeft(char sentence[]);//function prototype
int main()
{
char sentence[500];//takes until 500 character from user
alignLeft(sentence);
system("PAUSE");
return 0;
}
void alignLeft(char sentence[]){//definition
Leave a comment: