i.e. user inputs NAME (all in capital) and the code will print out NnAaMmEe.
i want to use the function argv and args. this is the code so far
#include <stdio.h>
#include <conio.h>
#include <string.h>
void main(){
int i;
int count;
char str [100];
clrscr();
printf("Enter a string");
scanf("%s", str);
count = strlen(str);
for(i=0; i<=count; i++){
if((str[i] >= 97) && (str[i] <= 100)){
str[i] = str[i] - 32;
}
for(i=0; i>=count; i++){
if ((str[i] <97) && (str[i] >100)){
str[i] = str[i] +32;
}
}
printf("%s", str);
getch();
}
}