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>
using namespace std;

int main(void) {
	int k=0;
	string str;
	while (cin >> str) {
		if (k != 0) cout << " ";
		k++;
		for (int i = 0; i < str.length(); i++) {
			if ('a' <= str[i] && str[i] <= 'z') str[i]+='A'-'a';
		}
		cout << str;
	}
	cout << endl;
	return 0;
}

C++: #include<stdio.h>
#include<ctype.h>
#include<stdlib.h>

int main()
{
	char *str;
	int i;
	str = (char*)malloc(sizeof(char) * 100);
	while (scanf("%[^\n]", str++) != EOF)
	{
		*str = toupper(*str);
	}
	while (str != NULL)
	{
		printf("%c", str);
		str++;
	}
	printf("\n");
	return 0;
}

C++: #include <stdio.h>
#include <iostream>

using namespace std;

int main() {

	char ch;

	while(1) {

		scanf("%c", &ch);

		if(ch == '\n') {
			cout << endl; 
		}

		ch = toupper(ch);

		cout << ch;
	}

	return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;
using uint = unsigned int;
using lint = long long int;
using ulint = unsigned long long int;
template<class T = int> using V = vector<T>;
template<class T = int> using VV = V< V<T> >;
template<class T, class U> void assign(V<T>& v, int n, const U& a) { v.assign(n, a); }
template<class T, class... Args> void assign(V<T>& v, int n, const Args&... args) { v.resize(n); for (auto&& e : v) assign(e, args...); }


int main() {
  cin.tie(nullptr); ios_base::sync_with_stdio(false);
  string s;
  getline(cin, s);
  for (char& c : s) {
    c = toupper(c);
  }
  cout << s << '\n';
}

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

int main()
{
    string Sentence;

    string Alphabet = "abcdefghijklmnopqrstuvwxyz";
    string CapAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";

    getline(cin,Sentence);

    int SentenceLength = Sentence.length();

    for(int x = 0; x < SentenceLength; x++)
    {
        for(int y = 0; y < 26; y++)
        {
            if(Sentence[x] == Alphabet[y])
            {
                Sentence[x] = CapAlphabet[y];
            }
        }
    }

    cout << Sentence;




}

C++: #include<bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);i++)
#define loop(i,x,n) for(int i=(x);i<(n);i++)
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define mp make_pair
#define fir first
#define sec second
#define ub upper_bound
#define lb lower_bound
#define int long long
using namespace std;
const int MOD=1000000007;
const int INF=1000000009;


signed main(){
  string s;
  getline(cin,s);
  transform(s.begin(),s.end(),s.begin(),::toupper);
  cout<<s<<endl;
  return 0;
}

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

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

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

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

C++: #include <iostream>
#include <string>
#include <algorithm>
char ToUpper (char cX) { return toupper(cX); } 
using namespace std;

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

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

int main() {
  string str;
  getline(cin, str);
  for (string::iterator it=str.begin(); it!=str.end(); it++){
    if (islower(*it)) *it = toupper(*it);
  }
  cout << str << endl;

  return 0;
}

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

using namespace std;

char data1[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
char data2[26]={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
char mozi;

int main(){
	while(scanf("%c",&mozi)){
		if(mozi == ' '){
			printf(" ");
		}else if(mozi == '.'){
			printf(".");
		}else if(mozi == '\n'){
			printf("\n");
		}else{
			for(int i=0;i<26;i++){
				if(data1[i] == mozi){
					printf("%c",data2[i]);
					break;
				}
			}
		}
	}

}

C++: #include <bits/stdc++.h>
using namespace std;
int main(void){
    string str;
    while (getline(cin,str)) {
        transform(str.begin(),str.end(),str.begin(),::toupper);
        cout << str;
    }
    cout << endl;
}

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

int main(void) {
	int k=0;
	string str;
	while (cin >> str) {
		if (k != 0) cout << " ";
		k++;
		for (int i = 0; i < str.length(); i++) {
			if ('a' <= str[i] && str[i] <= 'z') str[i]+='A'-'a';
		}
		cout << str;
	}
	return 0;
}

C++: #include<map>
#include<set>
#include<list>
#include<cmath>
#include<queue>
#include<stack>
#include<cstdio>
#include<string>
#include<vector>
#include<complex>
#include<cstdlib>
#include<cstring>
#include<climits>
#include<numeric>
#include<sstream>
#include<iostream>
#include<algorithm>
#include<functional>
#include<cctype>

using namespace std;

int main(){
	string str;
	string ans;
	getline(cin,str);
	for(int i=0;i<str.size();i++){
		str[i] = toupper(str[i]);
	}
	cout << str << endl;
	return 0;
}

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

int main() {
	string str;
	getline(cin, str);

	transform(str.begin(), str.end(), str.begin(), toupper);

	cout<<str.c_str()<<endl;
	return 0;
}

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

C++: #include<iostream>
#include<string>
#include<algorithm>
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>
#include<algorithm>
using namespace std;
int main() {
	string a;
	getline(cin, a);
	transform(a.begin(), a.end(), a.begin(), toupper);
	cout << a;
}

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

using namespace std;

int main(){
	string ch;
	int i;

	getline(cin, ch);

		for(i=0; i<s.size(); i++){

		if(isalpha(ch[i]){
			ch[i] = toupper(ch[i]);
		}
	}

	cout << ch << endl;
}

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

int main() {
	string s;
	while(getline(cin, s)){
		for(int i = 0; i < s.size(); ++i){
			if('a' <= s[i] && s[i] <= 'z'){
				s[i] = toupper(s[i]);
			}
		}
		cout << s << endl;
	}
	return 0;
}

C++: #include<cstring>
#include<cstdio>
#include<iostream>

using namespace std;
 
int main(){
    char a;
 
    while(a=fgetc(stdin)){
	    if('a'<=a && a<'z') a-=('a'-'A');
			fputc(a, stdout);
        }
 
    return 0;
}

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

char toUpper(char c){ return toupper(c); }

int main(){
    string s;
    getline(cin, s);
    transform(s.begin(), s.end(), s.begin(), toUpper);
    cout << s << endl;
}

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

using namespace std;

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