Go: package main

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

func main() {
        var s string
        sc := bufio.NewScanner(os.Stdin)
        sc.Scan()
        s = sc.Text()
        fmt.Println(strings.ToUpper(s))
}

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

#define rep(x,to) for(int x=0;x<to;x++)
#define rep2(x,from,to) for(x=from;x<to;x++)

using namespace std;


int main(void){

string bn;
	
	getline(cin,bn);
	rep(i,bn.size()) 
		if(bn[i] >= 'a' && bn[i] <= 'z') bn[i] += 'A' - 'a';

	cout << bn << endl;
	return 0;
}

C++: #include <iostream>
#include <cctype>
using namespace std;
 
int main(){
    while(true){
        char s;
        cin.get(s);
        if(islower(s)){
            s = toupper(s);
        }
        cout << s;
        if(s == '\n'){
            break;
        }
    }
    return(0);
}

C++: //00220
#include <bits/stdc++.h>
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 <algorithm>
#include <iostream>
#include <string>
using namespace std;

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

int main(void)
{
	string a;
	getline(cin,a);
	transform(a.begin(),a.end(),a.begin(),ToUpper());
	cout<<a<<endl;
	return 0;
}

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

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

C++: #include <iostream>
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <math.h>
using namespace std;
&#160;
int main(){
&#160;
char ch;
&#160;
while(1){
&#160;&#160;&#160;&#160;scanf("%c", &ch);
&#160;&#160;&#160;&#160;if ( ch == '\n' ) break;
&#160;&#160;&#160;&#160;char d=toupper(ch);
&#160;&#160;&#160;&#160;cout<<d;
}
&#160;&#160;&#160;&#160;cout<<endl;
}

C++: #ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>

#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <cwchar>
#include <cwctype>
#endif

#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>

#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#endif

#include <array>

using namespace std;

int main ()
{
	string str;
	getline ( cin , str );
	for( auto &x : str )
	{
		if( x >= 'a'&&x <= 'z' )
		{
			x=x - 'a' + 'A';
		}
	}
	cout << str << endl;
}

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

int main(){
  string s;
  getline(cin,s);
  string a;
  for(string::iterator it=s.begin();it!=s.end();it++){
    if(*it==' '||*it=='.'){
      a.push_back(*it);
      continue;
    }
    a.push_back((char)(*it+'A'-'a'));
  }
  cout<<a<<endl;
  return 0;
}

C++: #include <iostream>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <algorithm>
#include <stdlib.h>
#include <vector>

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'){
			str[i] = str[i] + 'A' - 'a';
		}
	}
	cout << str << endl;
	return 0;
}

C++: #include<bits/stdc++.h>
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'){
			str[i] -= ('a'-'A');
			cout << str[i];
		}
		else cout << str[i];
	}
	cout << endl;
}

C++: #include <iostream>

using namespace std;

int main() {
    char in[1000] = { 0 };
    cin.getline(in, sizeof(in));
    int offset = 0;

    for (int i = 0; i < 1000; ++i) {
        if (('a' <= in[i]) && (in[i] <= 'z')) {
            in[i] -= 32;
        }
    }

    cout << in << endl;

    return 0;
}

C++: #include<iostream>
#include<vector>
#include<string>
#include<istream>
using namespace std;
int main(){
	string a;
	getline(cin,a);
	for(int i = 0 ; i<a.size();i++){
		if((int)a[i]<=122 && (int)a[i]>=97){
			a[i] -= 32;
			}
		}
	for(int i = 0; i<a.size();i++) cout<<a[i];
	cout<<endl;
}

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

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

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

using namespace std;

string replace (const string& s_) {
    string s = s_;
    for (int i = 0; i < s.size(); i++) {
        if ('a' <= s[i] && s[i] <= 'z') {
            s[i] = s[i] + 'A' - 'a';
        }
    }
    return s;
}

int main (void) {
    string s;
    getline(cin, s);
    cout << replace(s) << endl;
    return 0;
}

C++: #include <stdio.h>

int main(void){
    char buf[1024];

    gets(buf);
    for (char *pt=buf; *pt!='\0'; pt++){
        if ('a'<=*pt && *pt<='z'){
            *pt = *pt-'a'+'A';
        }
        printf("%c", *pt);
    }
    printf("\n");

    return 0;
}

C++: #include<iostream>
#include<algorithm>
#include<vector>
#include<string>
using namespace std;
typedef long long ll;
int main(){
    string s;
        getline(cin,s);
        for(int i=0;i<s.size();i++){
            if(s[i]>='a'&&s[i]<='z')    s[i]-=32;
            cout << s[i];
        }
        cout << '\0';
    return 0;
}