For the case converting, would it be something like this? (Im trying to converst just the first letter):
asfor the percentage converion, i have no idea how to get started on that, any advice on where to look to get some ideas?Code:include <stdio.h> include <ctype.h> int main() { char first_name[26]; printf("Enter last name:\n"); printf("----------------------\n"); fgets(line, 500, stdin); sscanf(line, "%s", last_name); printf("\n"); first_name = toupper(first_name); return 0; }