Go: package main

import (
	"bufio"
	"fmt"
	"os"
	"strings"
)

var scanner = bufio.NewScanner(os.Stdin)

func nextString() string {
	scanner.Scan()
	return scanner.Text()
}

func main() {
	scanner.Split(bufio.ScanLines)

	line := nextString()

	fmt.Println(strings.ToUpper(line))
}

C++: #include<iostream>
#include<string>
#include<cstdio>
#include<cctype>
using namespace std;
int main(){
  string a[100000];
  int n=0;
  while(cin>>a[n]){
    n++;
  }
    
  for(int j=0;j<n;j++){
    for(int i=0;i<a[j].length();i++){
      if(islower(a[j][i]))a[j][i]=(char)toupper(a[j][i]);
    }
  }
  for(int i=0;i>n-1;i++){
    cout<<a[i]<<' ';
  }
  cout<<a[n-1]<<endl;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main() {
	string a;
	getline(cin, a);
	transform(a.begin(), a.end(), a.begin(), toupper);
	cout << a << endl;
	char t;
	cin >> t;
	return 0;
}

C++: #include<cstdio>
#include<cstring>
#include<algorithm>
#include<functional>
using namespace std;
int main(void)
{
	int len,i,j;
	char s,ss[100001];
	i=0;
	while(scanf("%c",&s)!=EOF) {
		
		if('A'<=s && 'Z'>=s) ss[i]=s;
		else if('a'<=s && 'z'>=s){
			s=s-('a'-'A');
			ss[i]=s;
		}
		else ss[i]=s;
		i++;
	}
	ss[i+1]='\0';
	printf("%s\n",ss);
	return 0;
}

C++: #include <iostream>
#include <string>
#include <stdlib.h> 
using namespace std;

int main() {
	string s;
	getline(cin,s);
	for(int i=0;i<=s.size();i++){
		if(isalpha(s[i]))
			putchar(toupper(s[i]));
		else putchar(s[i]);
	}cout<<endl;
}

C++: #include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <functional>
#include <complex>
using namespace std;
int main() {
	string s;
	int i = 0;
	getline(cin, s);
	transform(s.begin(), s.end(), s.begin(), toupper);
	cout << s << endl;
	return 0;
}

C++: #include <iostream>
#include <vector>
#include <algorithm>
#include <string>

using namespace std;

int main(){
	
	string str;
	getline(cin,str);
	for(int i = 0; i < str.size(); i++){
		if(str[i] >= 'a' && str[i] <= 'z'){
			cout<<(char)(str[i]+'A'-'a');
		}
		else
			cout<<str[i];
	}
	cout<<endl;

	return 0;
}

C++: #include <iostream>
#include <cstdlib>

#include <algorithm>
#include <string>

int main()
{
    std::string s;
    while(std::cin>>s){
        transform (s.begin (), s.end (), s.begin (), toupper);
    std::cout << s << " ";
    }
    
    return 0;
}

C++: #include<ctype.h>
#include<stdio.h>
#include<string.h>
int main()
{
	char m[256];
	gets(m);
	for(int i=0;i<strlen(m);i++){
		if(islower(m[i])){
			m[i]=toupper(m[i]);
		}
	}
	printf("%s\n",m);
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
#include<string.h>
using namespace std;

int main () {
	char *n;
	int end;
	
	gets(n);
	end = strlen(n);
	
	for ( int i = 0; i < end; i++ ) {
		if ( *( n + i ) >= 97 && *( n + i ) <= 122 ) {
			printf("%c",(*(n + i) - 32));
		} else {
			printf("%c",(*(n + i)));
		}
	}
	cout << endl;
	
}

C++: #include<cstdio>
using namespace std;

int main(){
	char str[1024], *s;
	scanf("%[^\n]", str);
	int i=0;
	while(str[i++]!='\0');
	s = new char[i];
	for( int j=0; j<i; j++ ){
		s[j] = str[j];
		if( ('a'<=s[j])&&(s[j]<='z') ){
			s[j] -= 32;
		}
	}
	printf("%s\n", s);
	delete[] s;
	s=0;
	return 0;
}

C++: #include <iostream>
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <math.h>
using namespace std;

int main(){

char ch;

while(1){
	scanf("%c", &ch);
	if ( ch == '\n' ) break;
	char d=toupper(ch);
	cout<<d;
}
	cout<<endl;
}

C++: #include <iostream>
#include <string>
#include <cctype>
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
using namespace std;

int main(void){
	string s;
	getline(cin,s);	
	EACH(i,s)
		if(islower(*i))
			*i=toupper(*i);
	cout << s << endl;
	return 0;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
using namespace std;

struct ToUpper {
	char operator()(char c) { return toupper(c); }
};

int main() {
	string str;
	getline(cin,str);
	transform(str.cbegin(), str.cend(), str.begin(), toupper);
	cout << str << endl;
	return 0;
}

C++: #include<iostream>
#include<cstdio>
#include<algorithm>
#include<string>
using namespace std;
int main(){
    string a;
    getline(cin,a);
    for(int i=0;i<a.size();i++)a[i]=toupper(a[i]);
    cout<<a<<endl;
}

C++: #include<iostream>
#include<string>
using namespace std;
#define CODE 'a'-'A';
int main() {
	string code;
	getline(cin, code);
	for (int i = 0; i < (int)code.size(); ++i) {
		if (code[i] >= 'a'&&code[i] <= 'z') {
			code[i] -= CODE;
		}
		else if (code[i] >= 'A'&&code[i] <= 'Z') {
			code[i] += CODE;
		}
	}
	cout << code << endl;
	return 0;
}

C++: #include <iostream>
#include <cstdio>
#include <vector>
#include <list>
#include <algorithm>
#include <cmath>
#include <stack>
#include <set>
using namespace std;

#define REP(i,n) for(int (i)=0; (i)<(n); (i)++)
#define FOR(i,a,b) for(int (i)=(a); (i)<(b); (i)++)
#define PUSH(n,v) for(int i=0; i<(n); i++) {int j; cin >> j; v.push_back(j);}
#define ALL(v) v.begin(), v.end()

int main() {
    string s;
    getline(cin, s);
    REP(i,s.length()) {
        if (islower(s[i])) cout << (char)toupper(s[i]);
        else cout << s[i];
    }
    cout << endl;
    return 0;
}

C++: #include <iostream>
#include <string>
#include <algorithm>

using namespace std;


int main() {
	string str;

	getline(cin, str);
	transform(str.begin(), str.end(), str.begin(), toupper);
	
	cout << str << endl;

	return 0;
}

C++: #include <iostream>
#include <stdio.h>
#include <ctype.h>
#include <string>
using namespace std;
 
int main (){
 
//変数宣言
 
    int i=0,j=0;
    string temp;
 
    getline(cin,temp);
  
    for(i=0;i<temp.size();i++){
	if (islower(temp[i])){
	    temp[i] = toupper(temp[i]);
	}else{
	    temp[i] = tolower(temp[i]);
	}
    }
    
//出力
    cout << temp << endl;
    return 0;
}

C++: #include<iostream>
#include<sstream>
#include<fstream>
#include<cstdio>
#include<vector>
#include<list>
#include<stack>
#include<queue>
#include<deque>
#include<string>
#include<cmath>
#include<cstdlib>
#include<map>
#include<set>
#include<algorithm>
using namespace std;

int main(){
	string line;
	while(getline(cin,line)){
		string s;
		for(int x=0;x<line.size();++x){
			if(line[x]==' ' || line[x]=='.'){
				s += line[x];
			}else{
				s += line[x]-32;
			}
		}
		cout<<s<<endl;
	}
	return 0;	
}

C++: #include<iostream>
using namespace std;
int main(){
	int c;
	while((c=getc(stdin))!='\n'){
		putc((c>='a' and c<='z')?c+'A'-'a':c,stdout);
	}
         cout<<endl;
	return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;

int main() {
	string str;
	getline(cin,str);
	transform(str.cbegin(), str.cend(), str.begin(), toupper);
	cout << str << endl;
	return 0;
}

C++: #include<iostream>
#include<vector>

using namespace std;

int main(void){
	
	int i;
	char a;
	vector<char> str;
	
	while(scanf("%c",&a)!=EOF){
		a=toupper(a);	
		str.push_back(a);
	}
	
	a=str.size();
	
	for(i=0;i<a;i++){
		cout<<str[i];
	}
	return 0;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(){
	string s;
	getline(cin ,s);
	transform(s.begin(), s.end(), s.begin(), ::toupper);
	cout << s << endl;
}

C++: #include <iostream>
#include <algorithm>
#include <functional>
#include <vector>
#include <cstdio>
#include <string>
#include <cmath>
#include <cfloat>
#include <map>
using namespace std;
int main(){
	
	string x;
	
	getline(cin,x);
	transform(x.begin(),x.end(),x.begin(),toupper);
	cout<<x<<endl;
	

}

C++: #include <iostream>

std::string str;

int main() {
    getline(std::cin, str);

    for(char c : str) {
        if(c >= 'a' && c <= 'z') {
            char upper = (c - 'a') + 'A';
            std::cout << upper;
        } else {
            std::cout << c;
        }
    }
}