#include <ctype.h>
#include <stdio.h>

void str_toupper(char  str[])
{
  unsigned  i = 0;
  while (str[i]){
    str[i] = toupper(str[i]);
    i++;
  }
}
int  main(void)
{
  char  str[100];

  printf("文字列を入力してください：");
  scanf("%s", str);

  str_toupper(str);
  printf("大文字：%s\n", str);


  return (0);
}
